-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.07 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
57
version: '3.8'
services:
postgres:
image: library/postgres:12-alpine
container_name: postgres_app_urnode
volumes:
- ./postgres_data:/var/lib/postgresql/data
env_file:
- ./.env
# Redis - result backend
redis:
container_name: redis_app_urnode
image: redis:alpine
hostname: redis
backend:
container_name: backend_app_urnode
expose:
- "8000"
image: "ghcr.io/argusoss/urnode-backend:latest"
depends_on:
- postgres
ports:
- "8000:8000"
volumes:
- ./urNode-backend:/app
env_file:
- ./.env
links:
- celery
- rabbit
- postgres
- redis
celery:
image: "ghcr.io/argusoss/urnode-celery-backend:latest"
container_name: celery_server
volumes:
- "./urNode-backend:/app"
env_file:
- ./.env
depends_on:
- redis
- postgres
links:
- postgres
- rabbit
- redis
rabbit:
hostname: rabbit
image: rabbitmq:3-management
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=mypass