/ compose.yaml
compose.yaml
 1  version: '3.9'
 2  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    pds:
18      container_name: pds
19      image: ghcr.io/bluesky-social/pds:0.4
20      network_mode: host
21      restart: unless-stopped
22      volumes:
23        - type: bind
24          source: /pds
25          target: /pds
26      env_file:
27        - /pds/pds.env
28    watchtower:
29      container_name: watchtower
30      image: containrrr/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"