forked from allegro/ralph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.octodocker.yml
59 lines (54 loc) · 1.12 KB
/
.octodocker.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
provisioning_command: /root/init.sh
compose:
db:
image: mysql:5.6
environment:
MYSQL_DATABASE: ralph_ng
MYSQL_ROOT_PASSWORD: ralph_ng
MYSQL_USER: ralph_ng
MYSQL_PASSWORD: ralph_ng
volumes_from:
- data
web:
build: .
restart: always
environment:
- DJANGO_SETTINGS_MODULE=ralph.settings.settings_local
ports:
- "8000"
volumes:
# temporary - fix when ralph will handle local settings in a better way
- ./docker/settings_local.py:/opt/ralph/src/ralph/settings/settings_local.py
volumes_from:
- data
links:
- db:db
- redis:redis
nginx:
image: nginx
restart: always
ports:
- "80"
links:
- web:web
volumes:
- ./contrib/ralph.conf.nginx:/etc/nginx/conf.d/default.conf
volumes_from:
- data
data:
image: mysql:5.6
volumes:
- /root/logs
- /root/static
- /var/lib/mysql
command: /bin/true
redis:
image: redis:3.0
restart: always
ports:
- "6379"
inkpy:
image: ar4s/inkpy_jinja:latest
restart: always
links:
- redis:redis