added photoprism

This commit is contained in:
msnie
2024-02-27 15:29:56 +01:00
parent fbf8314776
commit 51e2b9c6d0
3 changed files with 34 additions and 1 deletions
+8
View File
@@ -28,6 +28,8 @@ version: '3.5'
services:
photoprism:
networks:
- traefik
image: photoprism/photoprism:latest
restart: unless-stopped
stop_grace_period: 10s
@@ -83,6 +85,8 @@ services:
- "traefik.http.routers.photoprism.tls.certresolver=letsencr"
- "traefik.http.services.photoprism.loadbalancer.server.port=2342"
mariadb:
networks:
- traefik
image: mariadb:11
restart: unless-stopped
stop_grace_period: 5s
@@ -110,3 +114,7 @@ services:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
# - "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account
networks:
traefik:
external: true