CMDB-Server/docker/proxy/docker-compose.yml

22 lines
468 B
YAML

services:
reverse-proxy:
container_name: reverse-proxy
image: nginx:1.25.3-alpine3.18
ports:
- "80:80"
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf
- ./conf/conf.d:/etc/nginx/conf.d
networks:
- cmdb_net
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
###command: [nginx-debug, '-g', 'daemon off;']
networks:
cmdb_net:
external: true