1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-08-23 07:51:56 +00:00

ci: standalone compose file for proxy-host-network-mode

This is to prevent the below error with docker-compose v1:

ERROR: for nginx-proxy  "host" network_mode is incompatible with port_bindings
This commit is contained in:
Gilles Filippini
2025-01-31 23:00:20 +01:00
parent 06f412f622
commit c1f1c85aeb

View File

@@ -1,5 +1,9 @@
services: services:
nginx-proxy: nginx-proxy:
image: nginxproxy/nginx-proxy:test
container_name: nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
environment: environment:
HTTP_PORT: 8888 HTTP_PORT: 8888
network_mode: host network_mode: host