-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
71 lines (64 loc) · 1.19 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
postgres:
networks:
- net
volumes:
- ./../postgresql/data-10.0:/var/lib/postgresql/data
environment: &postgres_env
POSTGRES_DB: KEY
POSTGRES_USER: KEY
POSTGRES_PASSWORD: KEY
redis:
networks:
- net
frontend:
build:
args:
BRANCH: master
ports:
- 4200:4200
networks:
- net
volumes:
- ./../frontend:/frontend
environment:
TERM: xterm-256color
API_HOSTNAME: localhost:3000
WEBPACK_BUILD_ENV: development
backend:
build:
args:
BRANCH: master
volumes:
- .:/backend
ports:
- 3000:3000
networks:
- net
environment: &backend_env
REDIS_URL: redis://redis:6379/1
POSTGRES_HOST: postgres
RAILS_ENV: development
sidekiq:
volumes:
- .:/backend
networks:
- net
command: ./docker-entrypoint.sh
environment:
<<: *backend_env
SERVICE_NAME: sidekiq
helper:
volumes:
- .:/backend
networks:
- net
command: ./docker-entrypoint.sh
environment:
<<: *backend_env
SERVICE_NAME: helper
networks:
net:
ipam:
driver: default