-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
32 lines (32 loc) · 921 Bytes
/
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
services:
db:
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
ports:
- ${POSTGRES_PORT}:5432
volumes:
- ${PG_VOLUME}:/var/lib/postgressql/data/pgdata
networks:
- atprotofeed
feedgen:
build:
context: .
dockerfile: Dockerfile
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:
- atprotofeed
networks:
atprotofeed: