Files
express-reverse-proxy/docker-compose.yml
Fasterino (Server) cd2db5b04f Added self signed certs
2025-02-27 23:29:25 +03:00

25 lines
752 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
AUTO_CERTS: 1 # Generate a cert for domain if field 'cert-name' is missed
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