-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 806 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (26 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: 'draughts'
services:
api:
container_name: draughts-api
image: 230daniel/draughts-api
volumes:
- './config/backend.json:/app/appsettings.json:ro'
- './aspnet-data:/root/.aspnet'
- './backend-logs:/app/logs'
restart: unless-stopped
logging:
driver: "local"
options:
max-size: 50M
frontend:
container_name: draughts-frontend
image: 230daniel/draughts-frontend
depends_on:
- 'api'
volumes:
- './config/frontend.js:/build/config.js:ro'
- './config/nginx.conf:/etc/nginx/nginx.conf:ro'
- '/etc/letsencrypt:/etc/letsencrypt:ro'
ports:
- '8080:8080'
restart: unless-stopped