Properly name db service
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- database
|
- immich_postgres
|
||||||
volumes:
|
volumes:
|
||||||
- ${NASCOMPOSE_DATA?}/media/photos/:/usr/src/app/upload/
|
- ${NASCOMPOSE_DATA?}/media/photos/:/usr/src/app/upload/
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -27,9 +27,14 @@ services:
|
|||||||
hostname: immich-microservices
|
hostname: immich-microservices
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
image: ghcr.io/immich-app/immich-server:release
|
||||||
command: [ "start.sh", "microservices" ]
|
command: [ "start.sh", "microservices" ]
|
||||||
|
environment:
|
||||||
|
DB_HOSTNAME: immich_postgres
|
||||||
|
DB_USERNAME: postgres
|
||||||
|
DB_PASSWORD: postgres
|
||||||
|
DB_DATABASE_NAME: immich
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- database
|
- immich_postgres
|
||||||
volumes:
|
volumes:
|
||||||
- ${NASCOMPOSE_DATA?}/media/photos/:/usr/src/app/upload/
|
- ${NASCOMPOSE_DATA?}/media/photos/:/usr/src/app/upload/
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user