-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (55 loc) · 992 Bytes
/
docker-compose.yml
File metadata and controls
65 lines (55 loc) · 992 Bytes
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
version: '3'
services:
django:
build:
context: .
dockerfile: Dockerfile
container_name: dp
networks:
- dp
restart:
on-failure
depends_on:
- mysql
- neo4j
neo4j:
container_name: neo4j
image: neo4j:latest
networks:
- dp
mysql:
container_name: mysql
image: mysql
volumes:
- ./vol:/var/lib/mysql
networks:
- dp
command:
- --character-set-server=utf8
- --collation-server=utf8_general_ci
redis:
container_name: redis
image: redis:latest
networks:
- dp
redis-insight:
container_name: redisinsight
image: redislabs/redisinsight:latest
networks:
- dp
restart: always
depends_on:
- redis
celery:
container_name: celery
build:
context: ./
dockerfile: ./Dockerfile-celery
restart: always
networks:
- dp
depends_on:
- redis
networks:
dp:
driver: bridge