-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (43 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
54 lines (43 loc) · 1.07 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3'
services:
nginx:
image: nginx:1.25.4
container_name: simple_retro_nginx
hostname: nginx
restart: always
ports:
- "8443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- /opt/simple-retro/cert/cert.pem:/etc/ssl/retro-cert.pem:ro
- /opt/simple-retro/cert/key.key:/etc/ssl/retro-key.key:ro
- static:/etc/nginx/html/:ro
depends_on:
- backend
- frontend
backend:
image: ghcr.io/simple-retro/backend:v1.3.1
container_name: simple_retro_backend
hostname: simple-retro
restart: always
deploy:
resources:
limits:
cpus: '1'
memory: 500M
reservations:
cpus: '0.8'
memory: 200M
ports:
- 127.0.0.1:7878:7878
volumes:
- /opt/simple-retro/var/database.db:/app/database.db
frontend:
image: ghcr.io/simple-retro/frontend:v1.3.0
container_name: simple_retro_frontend
hostname: simple-retro
volumes:
- static:/static/
command: "rsync -a --del /app/ /static/"
volumes:
static: