Server Set-Up - yaml errors #112
Replies: 2 comments 2 replies
-
@pepepro2020 can you add your entire docker-compose.yml in a code block? (minus any passwords or secrets) |
Beta Was this translation helpful? Give feedback.
-
hi elliot, great to hear from you and many thanks for replying!! i already found out my first mistake - i just pasted the first part of your yml code - just the first part that one has to edit to ones needs, without all the code down in the "danger zone". (you see, and i'm sorry for that, i'm a complete amateur here) ... but now, one step ahead, pasting your entire yml code, and that just basically adapted in the first part of the code - as you can see in my following entire docker-compose.yml code block here `--- ------------------------------------------------------------------------------------------DANGER ZONE BELOWThe remainder of this file likely does not need to be changed.Please only make modificationsbelow if you understand what you are doing.services: volumes: ... i get the following error from the qnap "container station" respectively from the "create application" action when validating the entered code:
i understand that in my adapted .yml code obviousely the path to the postgres-location and also that one to the backup-location is not correct implemented but i just don't know how to enter those both paths correctely ... any suggestions? any help again greatfully appreciated THANK YOU |
Beta Was this translation helpful? Give feedback.
-
hi there,
i'm trying to configure this davinci server in a docker container on a qnap ts453d.
probably i'm encountering errors because of the lack of basic know-how about docker, containers, ... SORRY
if i do as recommended in the readme - and do just some very basic adaptions to the provided yaml file like:
version: ‘3.8’
x-common:
database: &db-environment
POSTGRES_DB: database
POSTGRES_USER: &pg-user postgres
POSTGRES_PASSWORD: DaVinci
TZ: Europe/Vienna
POSTGRES_LOCATION: &db-location “share/NAS/DavinciServerDatabase:/var/lib/postgresql/data”
backup: &backup-environment
SCHEDULE: “@every 1h”
BACKUP_KEEP_DAYS: 7
BACKUP_KEEP_WEEKS: 4
BACKUP_KEEP_MONTHS: 6
BACKUP_LOCATION: &bk-location “share/NAS//DavinciServerDatabaseBackup:/backups“
admin: &admin-environment
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
PGADMIN_PORT: &pgadmin-port "3001:80"
i get the following error:
Failed to create application "davinciserver". Error message: failed to get image list for yaml: yaml format error: 'services' not found(only support version 2 or 3)
(the locations for postgres and backup are both folders i created on one of my shared volumes called "NAS")
what am i doing wrong?
any help greatfully appreciated
thank you very much!!
Beta Was this translation helpful? Give feedback.
All reactions