-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
54 lines (48 loc) · 1.1 KB
/
docker-compose.dev.yml
File metadata and controls
54 lines (48 loc) · 1.1 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
services:
steamid-service:
build:
context: .
dockerfile: Dockerfile
env_file:
- .env
ports:
- "${PORT:-80}:${PORT:-80}"
environment:
- PORT=${PORT:-80}
- HOST=${HOST:-0.0.0.0}
- SID2_UNIVERSE=${SID2_UNIVERSE:-1}
- DEBUG=1
- COMPOSE_BAKE=true
- MAX_BATCH_ITEMS=${MAX_BATCH_ITEMS:-32}
- BACKEND_LANG=${BACKEND_LANG:-en}
restart: unless-stopped
deploy:
resources:
limits:
memory: ${MEMORY_LIMIT:-32m}
cpus: '${CPU_LIMIT:-0.2}'
reservations:
memory: 8m
cpus: '0.05'
security_opt:
- no-new-privileges:true
read_only: true
tmpfs:
- /tmp:noexec,nosuid,size=10m
networks:
- steamid-network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD-SHELL", "/healthcheck.sh"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
steamid-network:
driver: bridge
name: ${DOCKER_NETWORK:-steamid-network}