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

36 lines
604 B
YAML
Raw Normal View History

2025-06-24 18:13:50 +03:00
version: '3.8'
2025-05-30 12:24:21 +03:00
2025-06-24 18:13:50 +03:00
services:
app:
2025-06-23 22:37:39 +03:00
build:
context: .
target: production-main
dockerfile: Dockerfile
ports:
2025-06-24 18:13:50 +03:00
- "5900-5907:3000"
2025-06-23 22:37:39 +03:00
env_file:
- website/.env
depends_on:
- websocket
2025-05-30 12:24:21 +03:00
restart: unless-stopped
2025-06-23 22:37:39 +03:00
networks:
- shared_backend
2025-06-24 18:13:50 +03:00
deploy:
replicas: 8
2025-05-30 12:24:21 +03:00
2025-06-23 22:37:39 +03:00
websocket:
build:
context: .
target: production-websocket
dockerfile: Dockerfile
2025-05-30 12:24:21 +03:00
ports:
2025-06-23 22:37:39 +03:00
- "8082:8080"
env_file:
- website/.env
2025-05-30 12:24:21 +03:00
restart: unless-stopped
2025-06-23 22:37:39 +03:00
networks:
- shared_backend
2025-05-30 12:24:21 +03:00
2025-06-23 22:37:39 +03:00
networks:
shared_backend:
external: true