version: '3.9' services: caddy: container_name: caddy image: caddy:2 network_mode: host depends_on: - pds restart: unless-stopped volumes: - type: bind source: /pds/caddy/data target: /data - type: bind source: /pds/caddy/etc/caddy target: /etc/caddy pds: container_name: pds image: ghcr.io/bluesky-social/pds:0.4 network_mode: host restart: unless-stopped volumes: - type: bind source: /pds target: /pds env_file: - /pds/pds.env watchtower: container_name: watchtower image: containrrr/watchtower:latest network_mode: host volumes: - type: bind source: /var/run/docker.sock target: /var/run/docker.sock restart: unless-stopped environment: WATCHTOWER_CLEANUP: true WATCHTOWER_SCHEDULE: "@midnight" gatekeeper: container_name: gatekeeper image: fatfingers23/pds_gatekeeper:latest network_mode: host restart: unless-stopped #This gives the container to the access to the PDS folder. Source is the location on your server of that directory volumes: - type: bind source: /pds target: /pds depends_on: - pds