feat: basic PDS playbook
This commit is contained in:
1 parent
0085300561
commit
7936661e00
8 files changed
+194
-1
No files matched your search
@@ -0,0 +1,17 @@
|
||||
{
|
||||
email {{ pds_admin_email }}
|
||||
on_demand_tls {
|
||||
ask http://localhost:3000/tls-check
|
||||
}
|
||||
}
|
||||
|
||||
*.{{ pds_hostname }}, {{ pds_hostname }} {
|
||||
tls {
|
||||
on_demand
|
||||
}
|
||||
log {
|
||||
output stdout
|
||||
format json
|
||||
}
|
||||
reverse_proxy http://localhost:3000
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
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: containrrr/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
|
||||
Reference in new issue
Block a user