Photostructure
PhotoStructure is your new home for all your photos and videos.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: "3.7"
services:
photostructure:
# You can run alpha, beta, or stable builds. See
# <https://forum.photostructure.com/t/274> for details.
image: photostructure/server:alpha
container_name: photostructure
restart: unless-stopped
stop_grace_period: 2m
volumes:
- type: bind
source: /mnt/media/PhotoStructure # < CHANGE THIS LINE
target: /ps/library
# Example additional directories to import into your library:
- type: bind
source: "/mnt/Photos backup" # < CHANGE THIS LINE
target: /photos-backup
ports:
- 1787:1787/tcp
environment:
- "TZ=Etc/GMT" # < CHANGE THIS LINE
- "PUID=1000" # < CHANGE THIS LINE: replace 1000 with the result of `id -u`
- "PGID=1000" # < CHANGE THIS LINE: replace 1000 with the result of `id -g`
labels:
- "com.centurylinklabs.watchtower.enable=true"
# The rest of this file enables automatic PhotoStructure upgrades, and is optional
watchtower:
image: containrrr/watchtower
restart: always
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 10800
environment:
- "WATCHTOWER_LABEL_ENABLE=true"Resources
Website: https://photostructure.com/
GitHub: https://github.com/photostructure
Docker Hub: https://hub.docker.com/r/photostructure/server
Configuration: https://photostructure.com/server/photostructure-for-docker-compose/