1
0
mirror of https://github.com/parkervcp/eggs.git synced 2024-10-07 08:07:09 +02:00

Merge pull request #980 from DatMayo/postgres-update

Postgres container upgrade
This commit is contained in:
Michael (Parker) Parker 2021-02-13 06:29:16 -05:00 committed by GitHub
commit c898642d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
}
},