dlinux-dashboard/compose.yml

19 lines
500 B
YAML
Raw Normal View History

2025-01-08 13:13:09 -05:00
name: code-containers
services:
server:
build: .
ports:
- 3000:3000
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
2025-01-09 13:23:27 -05:00
proxy:
image: openresty/openresty:alpine-fat
env_file: .env
ports:
- 80:80
volumes:
2025-01-10 05:53:03 -05:00
- ./proxy.conf:/etc/nginx/conf.d/proxy.conf.template
2025-01-09 13:23:27 -05:00
network_mode: host
2025-01-10 05:53:03 -05:00
command: /bin/sh -c "sed 's/{PROXY_DOMAIN}/$PROXY_DOMAIN/' /etc/nginx/conf.d/proxy.conf.template > /etc/nginx/conf.d/proxy.conf && nginx -g 'daemon off;'"