my_app_remote_server_ui_app/docker-compose.yml
2026-01-04 23:35:12 +01:00

33 lines
756 B
YAML

version: "3.9"
services:
backend:
build: ./server/backend
container_name: backend
restart: unless-stopped
environment:
- MONGO_URI=mongodb://root:example@192.168.1.3:27017/myapphttps?authSource=admin
- JWT_SECRET=master66
- PORT=11001
ports:
- "11001:11001"
volumes:
- /home/nvme/dockerdata/myapps/icons:/app/uploads
frontend_server:
image: nginx:alpine
container_name: frontend_server
restart: unless-stopped
ports:
- "11003:80"
volumes:
- ./server/frontend:/usr/share/nginx/html:ro
app_static:
image: nginx:alpine
container_name: app_static
restart: unless-stopped
ports:
- "11002:80"
volumes:
- ./app:/usr/share/nginx/html:ro