-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.dev.yml
82 lines (73 loc) · 1.7 KB
/
docker-compose.dev.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
services:
postgres:
ports:
- 5432:5432
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
POSTGRES_DB: 'local'
PGDATA: '/var/lib/postgresql/data/pgdata'
volumes:
- ./db/postgres:/var/lib/postgresql/data/pgdata
redis:
ports:
- 6379:6379
mailer:
ports:
- 8025:8025
arena:
build:
dockerfile: ./Dockerfile
context: ./docker/arena
ports:
- 4567:4567
environment:
REDIS_HOST: 'redis'
REDIS_PASSWORD: ''
REDIS_PORT: '6379'
APP_QUEUE: 'trip;acquisition;policy;carpool;normalization;campaign'
networks:
- back
dashboard:
build:
dockerfile: ./docker/dashboard/Dockerfile
context: .
volumes:
- ./dashboard:/app/dashboard
- ./docker/dashboard/ci.env.js:/app/dashboard/src/assets/env.js:ro
- ./shared:/app/shared:ro
tty: true
labels:
- 'traefik.http.services.dashboard.loadbalancer.server.port=4200'
api:
build:
dockerfile: ./docker/api/Dockerfile
context: .
environment:
PORT: 8080
APP_RATE_LIMIT_MAX_FACTOR: '0'
DEBUG: 'api'
APP_POSTGRES_URL: postgres://postgres:postgres@postgres:5432/local
volumes:
- ./api:/app/api
- ./shared:/app/shared:ro
cms:
build:
dockerfile: ../docker/cms/Dockerfile
context: ./cms
volumes:
- ./cms/config:/opt/app/config
- ./cms/src:/opt/app/src
- ./cms/package.json:/opt/package.json
- ./cms/package-lock.json:/opt/package-lock.json
ports:
- "1337:1337"
environment:
NODE_ENV: dev
DATABASE_NAME: local
s3:
ports:
- 9000:9000
networks:
front:
back: