-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (43 loc) · 969 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (43 loc) · 969 Bytes
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
services:
gunicorn:
build:
context: ./app
dockerfile: Dockerfile_1
# ports:
# - 5000:5000
# user: 1000:1000
volumes:
- ./done:/done
- ./OriginalVideos:/OriginalVideos
env_file:
- ./app/.env
celery:
build:
context: ./app
dockerfile: Dockerfile_2
# user: 1000:1000
volumes:
- ./done:/done
- ./OriginalVideos:/OriginalVideos
- ./celery:/celery
env_file:
- ./app/.env
nginx:
image: nginx
volumes:
- ./nginx/templates/nginx.conf.template:/etc/nginx/templates/nginx.conf.template
- ./nginx/templates/conf.d/:/etc/nginx/templates/conf.d/
- ./certs/:/etc/nginx/certs/
- ./logs/:/etc/nginx/logs/
- ./done/:/done/
- ./done_symlink/:/done_symlink/
ports:
- 443:443
env_file:
- ./app/.env
environment:
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx
depends_on:
- gunicorn
#volumes:
# celery: