forked from socek/archipelag
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
executable file
·60 lines (53 loc) · 1.13 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
58
59
60
version: '3'
services:
backend:
build: ./backend
image: hssilesia/archipelag:latest
tty: true
ports:
- 8000:8000
volumes:
- ./backend/code:/code
- ./backend/code/archipelag/market/images:/code/archipelag/market/images
env_file:
- .env
environment:
- DJANGO_DEBUG=1
links: [postgres]
postgres:
image: postgres:9.4
restart: always
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=archipelag
- POSTGRES_USER=archipelag
- POSTGRES_DB=archipelag
- PGPASSWORD=archipelag
rabbitmq:
image: rabbitmq:3-management
env_file: .env
maildump:
image: ball6847/maildump
ports:
- 1080:1080
celery:
image: hssilesia/archipelag:latest
command: celery -A archipelag worker -l info
tty: true
stdin_open: true
volumes:
- ./backend/code:/code
env_file:
- .env
environment:
- DJANGO_DEBUG=1
frontend:
build: ./frontend
image: frontend
ports:
- 8080:8080
volumes:
- ./frontend:/usr/src/app
volumes:
postgres-data: