services: hugo: image: hugomods/hugo:0.135.0 container_name: hugo restart: no volumes: - ./:/src - static-site:/src/public #ports: #- "1313:1313" 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 external: true