remove portforward, add public network

This commit is contained in:
Luca Conte 2025-04-25 19:18:51 +02:00
parent 0ec890f026
commit 5029ee59b4
1 changed files with 10 additions and 7 deletions

View File

@ -1,7 +1,10 @@
services:
cg1:
image: nginx:alpine
volumes:
- ./src:/usr/share/nginx/html:ro
ports:
- "8080:80"
services:
cg1:
image: nginx:alpine
volumes:
- ./src:/usr/share/nginx/html:ro
networks:
- public
networks:
public:
external: true