mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 12:12:53 +08:00
Updated container version to work with the latest postgres database scheme
This commit is contained in:
parent
04fcee5c31
commit
22d8650cd6
@ -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"
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user