-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (40 loc) · 811 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (40 loc) · 811 Bytes
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
version: '2'
volumes:
files:
database:
services:
aurora:
image: ${DORK_PROJECT}/aurora
build: aurora/
volumes:
- files:/app/media
- files:/app/static
environment:
DORK_SOURCE_PATH: /source
ports:
- 80:80
links:
- database
- rabbitmq
- redis
labels:
dork.root: /app/code
dork.hotcode: ${DORK_HOT_CODE_PATHS}
database:
image: postgres:9.5
volumes:
- database:/var/lib/postgresql/data/pgdata
- ./database/init-dbs.sh:/docker-entrypoint-initdb.d/init-dbs.sh
environment:
POSTGRES_DB: aurora
POSTGRES_PASSWORD: nosecret
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- 5432
rabbitmq:
image: rabbitmq:3.6
hostname: rabbitmq
redis:
image: redis:4.0
ports:
- 6379