Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.9'
version: "3.9"
services:
caddy:
container_name: caddy
Expand All @@ -14,6 +14,7 @@ services:
- type: bind
source: /pds/caddy/etc/caddy
target: /etc/caddy
labels: ["com.centurylinklabs.watchtower.scope=bluesky"]
pds:
container_name: pds
image: ghcr.io/bluesky-social/pds:0.4
Expand All @@ -25,6 +26,7 @@ services:
target: /pds
env_file:
- /pds/pds.env
labels: ["com.centurylinklabs.watchtower.scope=bluesky"]
watchtower:
container_name: watchtower
image: containrrr/watchtower:latest
Expand All @@ -37,3 +39,5 @@ services:
environment:
WATCHTOWER_CLEANUP: true
WATCHTOWER_SCHEDULE: "@midnight"
WATCHTOWER_SCOPE: "bluesky"
labels: ["com.centurylinklabs.watchtower.scope=bluesky"]
3 changes: 1 addition & 2 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,9 @@ Requires=docker.service
After=docker.service

[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=${PDS_DATADIR}
ExecStart=/usr/bin/docker compose --file ${PDS_DATADIR}/compose.yaml up --detach
ExecStart=/usr/bin/docker compose --file ${PDS_DATADIR}/compose.yaml up
ExecStop=/usr/bin/docker compose --file ${PDS_DATADIR}/compose.yaml down

[Install]
Expand Down