Docker Netzwerk eingerichtet und Ports zu Host entfernt

This commit is contained in:
bmen 2020-07-26 19:40:17 +02:00
parent 919a293ad6
commit 2b48ac96d9
1 changed files with 6 additions and 2 deletions

View File

@ -1,12 +1,16 @@
version: '3' version: '3'
networks:
webproxy:
external: true
services: services:
jekyll: jekyll:
container_name: 2032er-blog container_name: 2032er-blog
image: jekyll/jekyll:latest image: jekyll/jekyll:latest
command: jekyll serve --force_polling --verbose command: jekyll serve --force_polling --verbose
ports: networks:
- 4000:4000 - webproxy
volumes: volumes:
- ./Blog:/srv/jekyll - ./Blog:/srv/jekyll
- /opt/appdata/2032er-blog/_site:/srv/jekyll/_site - /opt/appdata/2032er-blog/_site:/srv/jekyll/_site