Files
express-reverse-proxy/docker-compose.yml
Fasterino 36b99914e5 Fix
2024-11-15 02:36:16 +03:00

24 lines
672 B
YAML

version: '3.8'
services:
main:
build: .
restart: always
environment:
HTTP_PORT: 52080
HTTPS_PORT: 52443 # comment this if https is not required
# VOLUME_PATH: '/app/vol' # Not required because its '/app/vol' by default
CERTS_PATH: /etc/letsencrypt/live/ # Will be ignored because LOAD_CERTS_FROM_VOLUME is 1
LOAD_CERTS_FROM_VOLUME: 1 # CERTS_PATH will be inherited from VOLUME_PATH
networks:
- your_network # choose network with your containers
volumes:
- ./vol:/app/vol
ports:
- 52080:52080
- 52443:52443
networks:
# choose network with your containers
your_network:
external: true