forked from
baileytownsend.dev/pds-gatekeeper
Microservice to bring 2FA to self hosted PDSes
1version: '3.9'
2services:
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"
40 gatekeeper:
41 container_name: gatekeeper
42 image: fatfingers23/pds_gatekeeper:latest
43 network_mode: host
44 restart: unless-stopped
45 #This gives the container to the access to the PDS folder. Source is the location on your server of that directory
46 volumes:
47 - type: bind
48 source: /pds
49 target: /pds
50 depends_on:
51 - pds