-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (52 loc) · 1.16 KB
/
docker-compose.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
services:
caddy:
image: caddy:2.8
volumes:
- ./etc/caddy/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
ports:
- 3000:3000
redis:
image: redis:6-alpine
expose:
- 6379
django:
build: .
command: python manage.py runserver 0.0.0.0:8000
expose:
- 8000
environment:
SERVER_ENV: DEV
REDIS_HOST: redis
volumes:
- ./ikarodjango:/opt/ikaro/ikarodjango
- ./env:/opt/ikaro/env
- ./data:/opt/ikaro/data
tty: true
webpack:
build:
context: .
dockerfile: ./Dockerfile.webpack
image: ikaro:webpack
command: webpack --mode development --watch
environment:
- JANUS_ENDPOINT=ws://janus:8188
volumes:
- ./ikarodjango/js:/opt/ikaro/ikarodjango/js
- ./ikarodjango/static:/opt/ikaro/ikarodjango/static
# Hide local node_modules
- ./ikarodjango/js/node_modules:/src/node_modules
janus:
image: canyan/janus-gateway:latest
ports:
- 8188:8188
- 8088:8088
- 8089:8089
- 8889:8889
- 8000:8000
- 7088:7088
- 7089:7089
volumes:
caddy_data:
caddy_config: