forked from tutorcruncher/morpheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
57 lines (49 loc) · 1.15 KB
/
docker-compose.override.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.4'
volumes:
pg_data: {}
redis_data: {}
pdf_data: {}
test_data: {}
services:
logs:
ports:
- 5001:80
nginx:
image: nginx:1.15-alpine
restart: always
volumes:
- ./nginx/dev.nginx.conf:/etc/nginx/nginx.conf
- ./nginx/maintenance.html:/maintenance.html
ports:
- 5000:80
postgres:
image: postgres:11-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: docker
ports:
# to connect: `pgcli postgre://postgres:docker@localhost:54320/morpheus`
- 54320:5432
volumes:
- pg_data:/var/lib/postgresql/data
restart: unless-stopped
depends_on:
- logs
redis:
ports:
# to connect: `redis-cli -p 63790`
- 63790:6379
web:
environment:
APP_PG_DSN: 'postgres://postgres:docker@postgres:5432/morpheus'
APP_MANDRILL_URL: 'http://mandrill:8002'
APP_VERBOSE_HTTP_ERRORS: 'false'
worker:
environment:
APP_PG_DSN: 'postgres://postgres:docker@postgres:5432/morpheus'
APP_MANDRILL_URL: 'http://mandrill:8002'
APP_VERBOSE_HTTP_ERRORS: 'false'
mandrill:
image: mandrill-mock
depends_on:
- logs