Updated container version to work with the latest postgres database scheme

This commit is contained in:
Mario Franze 2021-02-13 07:55:33 +01:00
parent 04fcee5c31
commit 22d8650cd6
No known key found for this signature in database
GPG Key ID: 61296421381600B1

View File

@ -18,7 +18,7 @@
"scripts": {
"installation": {
"script": "#! \/bin\/ash\r\nadduser -D -h \/home\/container container\r\n\r\necho $POSTGRES_PASSWORD > .passwd\r\n\r\nchown -R container: \/mnt\/server\/\r\n\r\ncat .passwd\r\n\r\nsu container -c 'initdb -D \/mnt\/server\/postgres_db\/ -A md5 -U container --pwfile .passwd'\r\n\r\nmkdir -p \/mnt\/server\/postgres_db\/run\/\r\n\r\necho -e \"Done\"",
"container": "postgres:12.2-alpine",
"container": "postgres:13.1-alpine",
"entrypoint": "ash"
}
},