-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
102 lines (99 loc) · 2.39 KB
/
docker-compose.yml
File metadata and controls
102 lines (99 loc) · 2.39 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
services:
website:
image: ghcr.io/repotrial/graphsimviz-frontend:main
container_name: graphsimviz_website
restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"
ports:
- 8011:80
app:
image: ghcr.io/repotrial/graphsimviz-backend:main
container_name: graphsimviz_backend
build: .
env_file:
- './docker-django.env'
restart: always
command:
- "sh"
- "/usr/src/graphsimviz/docker-entrypoint.sh"
ports:
- 8012:8000
networks:
- graphsimviz_net
depends_on:
- graphsimviz_db
- graphsimviz_redis
graphsimviz_redis:
image: redis:7
restart: always
command: [ "redis-server" ]
container_name: graphsimviz_redis
hostname: graphsimviz_redis
networks:
- graphsimviz_net
depends_on:
- graphsimviz_db
graphsimviz_celery:
command:
- "sh"
- "/usr/src/graphsimviz/scripts/start_celery_worker.sh"
image: ghcr.io/repotrial/graphsimviz-backend:main
restart: always
container_name: graphsimviz_celery
hostname: graphsimviz_celery
env_file:
- './docker-django.env'
networks:
- graphsimviz_net
depends_on:
- graphsimviz_redis
- graphsimviz_db
graphsimviz_celery-beat:
command:
- "sh"
- "/usr/src/graphsimviz/scripts/start_celery_beat.sh"
image: ghcr.io/repotrial/graphsimviz-backend:main
container_name: graphsimviz_celery_beat
hostname: graphsimviz_celery_beat
env_file:
- 'docker-django.env'
networks:
- graphsimviz_net
depends_on:
- graphsimviz_redis
- graphsimviz_db
graphsimviz_rabbitmq:
image: rabbitmq:3.12.2
restart: always
container_name: graphsimviz_queue
hostname: graphsimviz_queue
networks:
- graphsimviz_net
env_file:
- 'docker-django.env'
graphsimviz_db:
image: postgres:14
restart: always
container_name: graphsimviz_db
hostname: graphsimviz_db
# ports:
# - 5432:5432
volumes:
- graphsimviz_db_volume:/var/lib/postgresql/example_files
environment:
- POSTGRES_DB=graphsimviz
- POSTGRES_USER=gvl
- POSTGRES_PASSWORD=globalvslocal
networks:
- graphsimviz_net
command:
- "postgres"
- "-c"
- "max_connections=10000"
- "-c"
- "shared_buffers=2GB"
volumes:
graphsimviz_db_volume:
networks:
graphsimviz_net: