-
Notifications
You must be signed in to change notification settings - Fork 8
/
dev.yml
48 lines (41 loc) · 924 Bytes
/
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
version: '3'
volumes:
postgres_data_dev: {}
redis_data_dev: {}
services:
postgres:
image: postgres:9.6-alpine
volumes:
- postgres_data_dev:/var/lib/postgresql/data
django:
build:
context: .
dockerfile: ./compose/django/Dockerfile-dev
command: /start-dev.sh
depends_on:
- postgres
environment:
USE_DOCKER: 'yes'
DEFAULT_ROVER_CONFIG: '{"left_eye_port": 1, "right_eye_port": 2, "left_motor_port": 3, "right_motor_port": 4}'
volumes:
- .:/app
ports:
- 8000:8000
profanity-check:
build:
context: .
dockerfile: ./compose/profanity/Dockerfile
redis:
image: redis:alpine
volumes:
- redis_data_dev:/data
redis-commander:
image: rediscommander/redis-commander
environment:
- REDIS_HOST=redis
ports:
- 8081:8081
mailhog:
image: mailhog/mailhog
ports:
- 8025:8025