| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #
- #
- services:
- flask_zipfile_creator:
- build: ./flask_zipfile_creator
- container_name: flask_zipfile_creator
- # CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
- command: flask run -h 0.0.0.0
- volumes:
- - ./flask_zipfile_creator:/flask
- - ./data/gallery:/var/www/gallery
- ports:
- - "5000:5000"
- # dns:
- # - "9.9.9.9"
- # restart: always
- lighttpd:
- image: springm/lighttpd-webdav:latest
- build: ./springm_lighttpd
- container_name: lighttp
- ports:
- - 3004:3004
- environment:
- - TZ=${TZ:-Europe/Berlin}
- - READWRITE=true
- - WHITELIST=192.168.2.24
- volumes:
- - ./config:/etc/lighttpd
- - ./data:/webdav
- depends_on:
- - flask_zipfile_creator
- restart: always
- # networks:
- # - proxy
- labels:
- - "traefik.enable=true"
- - "traefik.http.routers.lighttpd_dav.rule=Host(`webdav.hermes.markus-spring.info`)||Host(`web.hermes.markus-spring.info`)||Host(`share.hermes.markus-spring.info`)"
- - "traefik.http.routers.lighttpd_dav.entrypoints=websecure"
- - "traefik.http.routers.lighttpd_dav.tls=true"
- - "traefik.http.routers.lighttpd_dav.tls.certresolver=standard"
- - "traefik.http.services.lighttpd_dav.loadBalancer.server.port=3004"
- # networks:
- # proxy:
- # external: true
|