Switch from containrrr/watchtower to ghcr.io/nicholas-fedor/watchtower to fix Docker API version mismatch crashloop. Update README with pds.env management, new variables, and S3/SMTP config instructions. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
39 lines
946 B
Django/Jinja
39 lines
946 B
Django/Jinja
services:
|
|
pds:
|
|
container_name: pds
|
|
image: ghcr.io/bluesky-social/pds:{{ pds_image_tag }}
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- type: bind
|
|
source: {{ pds_data_dir }}
|
|
target: {{ pds_data_dir }}
|
|
env_file:
|
|
- {{ pds_data_dir }}/pds.env
|
|
|
|
caddy:
|
|
container_name: caddy
|
|
image: caddy:2
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- type: bind
|
|
source: {{ pds_data_dir }}/caddy/data
|
|
target: /data
|
|
- type: bind
|
|
source: {{ pds_data_dir }}/caddy/etc/caddy
|
|
target: /etc/caddy
|
|
|
|
watchtower:
|
|
container_name: watchtower
|
|
image: ghcr.io/nicholas-fedor/watchtower:latest
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- type: bind
|
|
source: /var/run/docker.sock
|
|
target: /var/run/docker.sock
|
|
environment:
|
|
- WATCHTOWER_CLEANUP=true
|
|
- WATCHTOWER_POLL_INTERVAL=3600
|