Just some minor tweaks

This commit is contained in:
NetShade 2024-08-13 11:55:49 +02:00
parent 7391d63f46
commit 9de4e2ac93
4 changed files with 12 additions and 11 deletions

View File

@ -25,9 +25,9 @@ services:
- Matrix - Matrix
hostname: syncv3 hostname: syncv3
ports: ports:
- "8009:8009" - 8009:8009
environment: environment:
- "SYNCV3_SERVER=https://syncv3.niefelheim.com" - "SYNCV3_SERVER=http://synapse:8008"
- "SYNCV3_SECRET=14b82584030154fc47f23fc8177fabf9c795ea3b4a6e11d32f452b353809cbe8" - "SYNCV3_SECRET=14b82584030154fc47f23fc8177fabf9c795ea3b4a6e11d32f452b353809cbe8"
- "SYNCV3_BINDADDR=:8009" - "SYNCV3_BINDADDR=:8009"
- "SYNCV3_DB=user=syncv3 dbname=syncv3 sslmode=disable host=192.168.1.161 password='SyncoptIcon'" - "SYNCV3_DB=user=syncv3 dbname=syncv3 sslmode=disable host=192.168.1.161 password='SyncoptIcon'"

View File

@ -29,6 +29,8 @@ services:
- PLEX_CLAIM=claim-kV1j1aMNtz1idHqAjffW - PLEX_CLAIM=claim-kV1j1aMNtz1idHqAjffW
volumes: volumes:
- plex:/config - plex:/config
- /data/backup/plex:/backup
- /etc/ssl/technitium:/etc/ssl/private:ro
- /data/media/tv:/tv - /data/media/tv:/tv
- /data/media/movies:/movies - /data/media/movies:/movies
- /data/media/music:/music - /data/media/music:/music

View File

@ -3,11 +3,11 @@ version: '3.3'
services: services:
primary: primary:
hostname: 'primary' hostname: 'primary'
image: crunchydata/crunchy-postgres:centos7-10.3-1.8.2 image: crunchydata/crunchy-postgres:ubi8-15.2-0
secrets: secrets:
- postgres_primary - postgres_primary
- postgres_password - postgres_password
- postgres_rootpw - postgres_rootpw
environment: environment:
- PGHOST=/tmp - PGHOST=/tmp
- MAX_CONNECTIONS=10 - MAX_CONNECTIONS=10
@ -25,14 +25,14 @@ services:
ports: ports:
- '5432' - '5432'
networks: networks:
- infra - postgres
deploy: deploy:
placement: placement:
constraints: constraints:
- node.labels.type == primary - node.labels.type == primary
- node.role == worker - node.role == worker
replica: replica:
image: crunchydata/crunchy-postgres:centos7-10.3-1.8.2 image: crunchydata/crunchy-postgres:ubi8-15.2-0
secrets: secrets:
- postgres_primary - postgres_primary
- postgres_password - postgres_password
@ -55,15 +55,14 @@ services:
ports: ports:
- '5432' - '5432'
networks: networks:
- infra - postgres
deploy: deploy:
placement: placement:
constraints: constraints:
- node.labels.type != primary - node.labels.type != primary
- node.role == worker - node.role == worker
networks: networks:
infra: postgres:
volumes: volumes:
pg-primary-vol: pg-primary-vol:
pg-replica-vol: pg-replica-vol: