-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
39 lines (39 loc) · 825 Bytes
/
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
services:
api:
image: "interplaytions-server-api:test"
volumes:
- static_volume:/code/midiresult
ports:
- "8000:8000"
restart: always
environment:
DEBUG: "False"
SECRET_KEY: "v^55^y*nk%38!w^rzychc5mbqaw(rvadv@ic\$xz36101am_et!"
code:
image: "interplaytions-server-nginx:test"
volumes:
- static_volume:/code/midiresult
ports:
- "8001:8001"
depends_on:
- api
restart: always
environment:
API_HOST: api
API_PORT: 8000
web:
image: "interplaytions-web:test"
ports:
- "80:80"
environment:
API_HOST: api
API_PORT: 8000
CODE_HOST: code
CODE_PORT: 8001
depends_on:
- code
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
static_volume: