Compare commits
2 Commits
601773bc39
...
4dfbbea537
| Author | SHA1 | Date | |
|---|---|---|---|
| 4dfbbea537 | |||
| 2c6c89a2af |
@@ -8,7 +8,7 @@ services:
|
|||||||
- POSTGRES_USER=admin
|
- POSTGRES_USER=admin
|
||||||
- POSTGRES_PASSWORD=AllOfTheStars+1
|
- POSTGRES_PASSWORD=AllOfTheStars+1
|
||||||
- POSTGRES_DB=peertube
|
- POSTGRES_DB=peertube
|
||||||
- POSTGRES_HOST=10.0.4.10
|
- POSTGRES_HOSTNAME=peertube-postgres
|
||||||
- POSTGRES_PORT=5432
|
- POSTGRES_PORT=5432
|
||||||
# Redis configuration
|
# Redis configuration
|
||||||
- REDIS_HOSTNAME=peertube-redis
|
- REDIS_HOSTNAME=peertube-redis
|
||||||
@@ -74,6 +74,21 @@ services:
|
|||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
|
peertube-postgres:
|
||||||
|
image: postgres:17-alpine
|
||||||
|
networks:
|
||||||
|
- homelab
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=admin
|
||||||
|
- POSTGRES_PASSWORD=AllOfTheStars+1
|
||||||
|
- POSTGRES_DB=peertube
|
||||||
|
volumes:
|
||||||
|
- /home/doc/projects/swarm-data/appdata/peertube/postgres:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
homelab:
|
homelab:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user