remove portforward, add public network
This commit is contained in:
parent
0ec890f026
commit
5029ee59b4
|
@ -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
|
Loading…
Reference in New Issue