-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
41 lines (33 loc) · 941 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
40
41
version: '3.7' # docker compose version
services:
# redis:
# image: redis
# ports:
# - 6379:6379
# web:
# build: ./webserver
# command: python manage.py runserver 0.0.0.0:8000
# volumes:
# - ./webserver:/usr/src/webserver # bind mount host directory to container
# ports:
# - 8000:8000
# env_file:
# - ./.env.dev
# db:
# image: postgres:12.0-alpine
# volumes:
# - postgres_data:/var/lib/postgresql/data/ # named volume
# environment:
# - POSTGRES_USER=hello_django
# - POSTGRES_PASSWORD=hello_django
# - POSTGRES_DB=hello_django_dev
video:
build: ./videoserver
ports:
- 1935:1935
# model:
# build: ./modelserver
# ports:
# - 8888:8888
# volumes:
# postgres_data: