Преглед изворни кода

upgraded postgres image

develop
Robin Thoni пре 6 година
родитељ
комит
6f5283b8db

+ 1
- 1
postgresql/Dockerfile Прегледај датотеку

@@ -1,4 +1,4 @@
1
-FROM robinthoni/postgres-backup-multiarch:9.6
1
+FROM robinthoni/postgres-backup-multiarch:9.6-1.1.0
2 2
 
3 3
 RUN rm -rf /var/log/*
4 4
 

postgresql/docker-entrypoint-initdb.d/01_luticate2_utils.sql → postgresql/docker-entrypoint-initdb.d/0.1.0_01_luticate2_utils.sql Прегледај датотеку


postgresql/docker-entrypoint-initdb.d/02_webtest.sql → postgresql/docker-entrypoint-initdb.d/0.1.0_02_webtest.sql Прегледај датотеку


+ 6
- 0
postgresql/docker-entrypoint-initdb.d/README.md Прегледај датотеку

@@ -0,0 +1,6 @@
1
+The files in this folder will be copied in the postgres container and will be executed only on the first run.
2
+
3
+They MUST be named as `version_number_humanReadbleName.[sql|sql.gz|sh]` where:
4
+- version is `x.y.z`. Files are executed in versions order: 0.1.0 < 0.10.0 < 0.10.1 < 1.0.0
5
+- number is a number. Files are executed in their ASCII order, which means `0.1.0_1_my_first_files.sql` will be executed after `0.1.0_10_my_second_file.sh`. Use leading zeros to fix it, eg: `0.0.1_01_my_first_file.sql`
6
+- humanReadableName is pretty much what you want to describe this file

Loading…
Откажи
Сачувај