1
0

with nginx as webbrowser running

This commit is contained in:
2025-12-03 13:14:23 +01:00
parent ea52115b47
commit d7b5585666
45 changed files with 24 additions and 2129 deletions

View File

@@ -2,15 +2,34 @@ services:
hugo:
image: hugomods/hugo:0.135.0
container_name: hugo
user: 1000:1000
restart: no
volumes:
- ./:/src
- static-site:/src/public
#ports:
#- "1313:1313"
command: server --bind 0.0.0.0
command: ["hugo", "--cleanDestinationDir", "--baseURL", "https://blog.fuhlig.de/", "--ignoreCache"]
#command: ["hugo"]
networks:
- net
nginx:
image: nginx:alpine
container_name: blog
#ports:
#- "80:80"
volumes:
- static-site:/usr/share/nginx/html:ro
depends_on:
- hugo
restart: unless-stopped
networks:
- net
volumes:
static-site:
name: blog.data
networks:
net:
name: docker_public