Files
express-reverse-proxy/docker-compose.yml
Fasterino 93e89b0d7f Init
2024-11-15 02:24:51 +03:00

24 lines
683 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:
- ../volumes/proxy:/app/vol
ports:
- 52080:52080
- 52443:52443
networks:
# choose network with your containers
your_network:
external: true