Fork of official Bluesky PDS (Personal Data Server).

Simplify compose.yaml

+6 -33
+6 -33
compose.yaml
··· 1 - version: '3.9' 2 1 services: 3 - caddy: 4 - container_name: caddy 5 - image: caddy:2 6 - network_mode: host 7 - depends_on: 8 - - pds 9 - restart: unless-stopped 10 - volumes: 11 - - type: bind 12 - source: /pds/caddy/data 13 - target: /data 14 - - type: bind 15 - source: /pds/caddy/etc/caddy 16 - target: /etc/caddy 17 2 pds: 3 + build: . 18 4 container_name: pds 19 - image: ghcr.io/bluesky-social/pds:0.4 20 - network_mode: host 21 5 restart: unless-stopped 6 + ports: 7 + - "127.0.0.1:3000:3000" 22 8 volumes: 23 - - type: bind 24 - source: /pds 25 - target: /pds 9 + - /home/pds:/pds 26 10 env_file: 27 - - /pds/pds.env 28 - watchtower: 29 - container_name: watchtower 30 - image: ghcr.io/nicholas-fedor/watchtower:latest 31 - network_mode: host 32 - volumes: 33 - - type: bind 34 - source: /var/run/docker.sock 35 - target: /var/run/docker.sock 36 - restart: unless-stopped 37 - environment: 38 - WATCHTOWER_CLEANUP: true 39 - WATCHTOWER_SCHEDULE: "@midnight" 11 + - .env 12 + user: "pds"