forked from exadel-inc/CompreFace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.env.yml
More file actions
24 lines (22 loc) · 848 Bytes
/
docker-compose.env.yml
File metadata and controls
24 lines (22 loc) · 848 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
#################################################################################################
# Docker compose override file for deploy allication stack to the CompreFace project environments
#
# Usage: HOSTNAME=$HOSTNAME sudo docker-compose -f docker-compose.yml -f docker-compose.env.yml up -d
#
# Note: a) We need to provide $HOSTNAME to mount TLS certs correctly for each environment.
# b) We also mount nginx configuration with HTTPS instead of the default one.
#
#################################################################################################
version: '3.4'
volumes:
postgres-data:
services:
compreface-fe:
volumes:
- ./nginx/templates:/etc/nginx/templates:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
environment:
- NGINX_HOST=$HOSTNAME
ports:
- "8000:80"
- "443:443"