rename container remove volume
This commit is contained in:
parent
cf7d23f3d4
commit
3aa4d72dcd
@ -5,10 +5,11 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: my-hugo-app:production
|
image: my-hugo-app:production
|
||||||
|
container_name: static-site
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- NGINX_PORT=80
|
- NGINX_PORT=80
|
||||||
volumes:
|
# volumes:
|
||||||
- ./public:/usr/share/nginx/html:ro # Optional, for debugging
|
# - ./public:/usr/share/nginx/html:ro # Optional, for debugging
|
Loading…
x
Reference in New Issue
Block a user