-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (52 loc) · 1.36 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
version: '3'
services:
world_server:
build:
context: ./server
dockerfile: Dockerfile-dev
image: server
volumes:
- ./server:/app
environment:
- VENUELESS_DB_NAME=venueless
- VENUELESS_DB_USER=venueless
- VENUELESS_DB_PASS=venueless
- VENUELESS_DB_HOST=db
- VENUELESS_DATA_DIR=/data
entrypoint: ["bash", "/app/world_server/docker-dev-entrypoint.sh"]
depends_on:
- db
websocket_worker:
image: server
ports:
- "8375:8375"
volumes:
- ./server:/app
entrypoint: ["bash", "/app/websocket_worker/docker-dev-entrypoint.sh"]
depends_on:
- db
- world_server
django_channels:
image: server
ports:
- "8375:8375"
volumes:
- ./server:/app
entrypoint: ["bash", "/app/django_channels/docker-dev-entrypoint.sh"]
depends_on:
- db
- world_server
db:
image: "postgres:13"
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=venueless
- POSTGRES_PASSWORD=venueless
volumes:
postgres_data:
# networks:
# default:
# ipam:
# config:
# - subnet: 172.177.0.0/16