-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
46 lines (45 loc) · 1.08 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
# docker-compose for development of ubersystem
services:
web:
platform: linux/amd64
build: .
ports:
- 80:80
environment:
- DB_CONNECTION_STRING=postgresql://uber_db:uber_db@db:5432/uber_db
- PORT=80
volumes:
- type: bind
source: .
target: /app/plugins/magstock
db:
platform: linux/amd64
image: postgres
environment:
- POSTGRES_PASSWORD=uber_db
- POSTGRES_USER=uber_db
- POSTGRES_DB=uber_db
redis:
platform: linux/amd64
image: redis
rabbitmq:
platform: linux/arm64/v8
ports:
- "5672"
image: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=celery
- RABBITMQ_DEFAULT_PASS=celery
- RABBITMQ_DEFAULT_VHOST=uber
celery-beat:
platform: linux/amd64
build: .
command: ['celery-beat']
environment:
- DB_CONNECTION_STRING=postgresql://uber_db:uber_db@db:5432/uber_db
celery-worker:
platform: linux/amd64
build: .
command: ['celery-worker']
environment:
- DB_CONNECTION_STRING=postgresql://uber_db:uber_db@db:5432/uber_db