This repository has been archived on 2025-08-19. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
coinstorge/docker-compose.yml
2025-06-24 18:13:50 +03:00

36 lines
No EOL
604 B
YAML

version: '3.8'
services:
app:
build:
context: .
target: production-main
dockerfile: Dockerfile
ports:
- "5900-5907:3000"
env_file:
- website/.env
depends_on:
- websocket
restart: unless-stopped
networks:
- shared_backend
deploy:
replicas: 8
websocket:
build:
context: .
target: production-websocket
dockerfile: Dockerfile
ports:
- "8082:8080"
env_file:
- website/.env
restart: unless-stopped
networks:
- shared_backend
networks:
shared_backend:
external: true