diff --git a/docker/synapse/compose.yaml b/docker/synapse/compose.yaml index ce4cb3a..a1d19f5 100644 --- a/docker/synapse/compose.yaml +++ b/docker/synapse/compose.yaml @@ -1,6 +1,7 @@ services: postgres: image: postgres:15-alpine + container_name: postgres restart: always environment: POSTGRES_USER: ${PSQL_NAME} @@ -28,6 +29,7 @@ services: synapse-foxgirls: image: matrixdotorg/synapse:latest + container_name: synapse-foxgirls restart: unless-stopped environment: SYNAPSE_SERVER_NAME: foxgirls.date diff --git a/nextcloud/compose.yaml b/nextcloud/compose.yaml index 81753bc..d364e3c 100644 --- a/nextcloud/compose.yaml +++ b/nextcloud/compose.yaml @@ -9,7 +9,7 @@ services: - /var/lib/nextcloud/tmp:/tmp - ./nextcloud_data:/var/www/html environment: - - POSTGRES_HOST=synapse-postgres-1 # Change to your Postgres IP/Hostname + - POSTGRES_HOST=postgres # Change to your Postgres IP/Hostname - POSTGRES_DB=${DB_NAME} # Your Postgres DB name - POSTGRES_USER=${DB_UNAME} # Your Postgres user - POSTGRES_PASSWORD=${DB_PASS} # Your Postgres password