Browse Source

upgraded postgres image

develop
Robin Thoni 7 years ago
parent
commit
6f5283b8db

+ 1
- 1
postgresql/Dockerfile View File

@@ -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 View File


postgresql/docker-entrypoint-initdb.d/02_webtest.sql → postgresql/docker-entrypoint-initdb.d/0.1.0_02_webtest.sql View File


+ 6
- 0
postgresql/docker-entrypoint-initdb.d/README.md View File

@@ -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…
Cancel
Save