-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
44 lines (42 loc) · 1.06 KB
/
docker-compose-dev.yml
File metadata and controls
44 lines (42 loc) · 1.06 KB
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
version: '3'
services:
nginx:
restart: "always"
build:
dockerfile: Dockerfile
context: ./nginx
ports:
- "8080:80"
- "1935:1935"
environment:
- "RTMP_PORT: 1935"
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf.template"
- "./nginx/scripts:/scripts"
- "./media:/var/stream:rw"
depends_on: fslc-stream
fslc-stream:
restart: "always"
build:
dockerfile: ./Dockerfile.dev
env_file:
- .postgres.env
- .flask.env
ports:
- "5000:5000"
volumes:
- "./gunicorn.conf.py:/etc/gunicorn.conf.py"
- "./migrations:/fslc_stream/migrations"
- "./fslc_stream/:/fslc_stream/fslc_stream"
- "./media:/var/stream:rw"
depends_on: postgres
postgres:
restart: "always"
image: "docker.io/postgres:17-alpine"
env_file: .postgres.env
ports:
- "5432:5432"
volumes:
- "postgres-data:/var/lib/postgresql/data"
volumes:
postgres-data: