ketr.photos/docker-compose.yml
James Ketrenos 3e9438bb27 Switched back to port 80 (http) instead of https in the container
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-01-23 07:54:15 -08:00

29 lines
763 B
YAML

version: '3.1'
services:
photos:
env_file:
- .env
build:
context: .
dockerfile: Dockerfile
args:
DEVELOPMENT: ${DEVELOPMENT}
stdin_open: true # Needed for react-scripts
tty: true # Needed for react-scripts
image: photos:latest
container_name: ${CONTAINER}photos
# depends_on:
# - db
restart: always
ports:
- ${PORT}:80 # nginx -> server/app.js express app
# - 127.0.0.1:${SHELL_PORT}:4200 # shellinabox
volumes:
- /etc/letsencrypt:/etc/letsencrypt:ro # Use host web keys
- ${PICTURES}:/pictures
- ${PWD}/db:/website/db
- ${PWD}/config/local.json:/website/config/local.json
- /opt/ketrface/models:/root/.deepface