Update qnap_mediaui.yaml
parent
9b87dffcb9
commit
791d2461b2
|
@ -12,8 +12,8 @@ services:
|
||||||
- /share/Photos:/usr/src/app/upload
|
- /share/Photos:/usr/src/app/upload
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- UPLOAD_LOCATION=./library
|
- UPLOAD_LOCATION=$UPLOAD_LOCATION
|
||||||
- DB_DATA_LOCATION=./postgres
|
- DB_DATA_LOCATION=$DB_DATA_LOCATION
|
||||||
ports:
|
ports:
|
||||||
- '2283:2283'
|
- '2283:2283'
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -56,7 +56,7 @@ services:
|
||||||
- POSTGRES_DB=$DB_DATABASE_NAME
|
- POSTGRES_DB=$DB_DATABASE_NAME
|
||||||
- POSTGRES_INITDB_ARGS='--data-checksums'
|
- POSTGRES_INITDB_ARGS='--data-checksums'
|
||||||
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
||||||
# DB_STORAGE_TYPE: 'HDD'
|
- DB_STORAGE_TYPE: 'HDD'
|
||||||
volumes:
|
volumes:
|
||||||
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
|
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
|
||||||
- $DB_DATA_LOCATION:/var/lib/postgresql/data
|
- $DB_DATA_LOCATION:/var/lib/postgresql/data
|
||||||
|
|
Loading…
Reference in New Issue