-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
47 lines (46 loc) · 1.29 KB
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
postgres:
image: postgres:17-bullseye
restart: always
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
PGDATA: /var/lib/postgressql/data/pgdata
volumes:
- ${PG_VOLUME}:/var/lib/postgressql/data/pgdata
ports:
- ${POSTGRES_PORT}:5432
networks:
- postgres
feedgen:
image: nklisch/bluesky-feed-builder:latest
restart: always
ports:
- 9000:${FEEDGEN_PORT} # Map the service port to the host
environment:
- DATABASE_URL=$DOCKER_DATABASE_URL
- FEEDGEN_SUBSCRIPTION_ENDPOINT=$FEEDGEN_SUBSCRIPTION_ENDPOINT
- FEEDGEN_HOSTNAME=$FEEDGEN_HOSTNAME
- FEEDGEN_PUBLISHER_DID=$FEEDGEN_PUBLISHER_DID
- FEEDGEN_SUBSCRIPTION_RECONNECT_DELAY=$FEEDGEN_SUBSCRIPTION_RECONNECT_DELAY
networks:
- postgres
- caddy_caddy
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --http-api-update
environment:
- WATCHTOWER_REMOVE_VOLUMES=true
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_HTTP_API_TOKEN=$WATCHTOWER_HTTP_API_TOKEN
ports:
- 8888:8080
networks:
postgres:
driver: bridge
attachable: true
caddy_caddy:
external: true