Update qnap_mediaui.yaml
parent
9b87dffcb9
commit
791d2461b2
|
@ -12,8 +12,8 @@ services:
|
|||
- /share/Photos:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- UPLOAD_LOCATION=./library
|
||||
- DB_DATA_LOCATION=./postgres
|
||||
- UPLOAD_LOCATION=$UPLOAD_LOCATION
|
||||
- DB_DATA_LOCATION=$DB_DATA_LOCATION
|
||||
ports:
|
||||
- '2283:2283'
|
||||
depends_on:
|
||||
|
@ -56,7 +56,7 @@ services:
|
|||
- POSTGRES_DB=$DB_DATABASE_NAME
|
||||
- POSTGRES_INITDB_ARGS='--data-checksums'
|
||||
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
||||
# DB_STORAGE_TYPE: 'HDD'
|
||||
- DB_STORAGE_TYPE: 'HDD'
|
||||
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
|
||||
- $DB_DATA_LOCATION:/var/lib/postgresql/data
|
||||
|
|
Loading…
Reference in New Issue