-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
45 lines (45 loc) · 1.04 KB
/
docker-compose.local.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
version: '2'
services:
app:
volumes:
- .:/calc:delegated
command: python manage.py runserver 0.0.0.0:${DOCKER_EXPOSED_PORT}
environment:
- DEFAULT_DEBUG_EMAIL_URL=smtp://mailcatcher:25/
- WD_CHROME_ARGS=--headless --no-sandbox --disable-setuid-sandbox
links:
- mailcatcher
# The following are for pdb support.
tty: true
stdin_open: true
gulp:
extends:
file: docker-services.yml
service: base_app
volumes:
- .:/calc:delegated
command: gulp
rq_worker:
volumes:
- .:/calc:delegated
environment:
- DEFAULT_DEBUG_EMAIL_URL=smtp://mailcatcher:25/
links:
- mailcatcher
# The following are for pdb support.
tty: true
stdin_open: true
rq_scheduler:
volumes:
- .:/calc:delegated
environment:
- DEFAULT_DEBUG_EMAIL_URL=smtp://mailcatcher:25/
links:
- mailcatcher
# The following are for pdb support.
tty: true
stdin_open: true
mailcatcher:
image: tophfr/mailcatcher:latest
ports:
- 1080:80