-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.05 KB
/
docker-compose.yml
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
55
56
version: "3"
services:
web:
image: docker.io/thatonecalculator/calckey
container_name: calckey_web
restart: unless-stopped
depends_on:
- db
- redis
- sonic
ports:
- "3000:3000"
networks:
- calcnet
# - web
environment:
NODE_ENV: production
volumes:
- ./files:/calckey/files
- ./.config:/calckey/.config:ro
redis:
restart: unless-stopped
image: docker.io/redis:7.0-alpine
container_name: calckey_redis
networks:
- calcnet
volumes:
- ./redis:/data
db:
restart: unless-stopped
image: docker.io/postgres:12.2-alpine
container_name: calckey_db
networks:
- calcnet
env_file:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
sonic:
restart: unless-stopped
image: docker.io/valeriansaliou/sonic:v1.4.0
networks:
- calcnet
volumes:
- ./sonic:/var/lib/sonic/store
- ./sonic/config.cfg:/etc/sonic.cfg
networks:
calcnet:
# web:
# external:
# name: web