Sameer Naik
249f4983aa
removed accidentally committed COPY instruction
2015-08-12 22:46:08 +05:30
Sameer Naik
5b2ce7b70d
added /app volume
2015-08-12 22:42:31 +05:30
Sameer Naik
87676eedb2
start catalina.sh as user tomcat
2015-08-12 22:39:42 +05:30
Sameer Naik
662bac1094
always chown the conf and log directories
2015-08-12 22:39:38 +05:30
Sameer Naik
3a00f05982
intial creation
2015-08-12 22:39:16 +05:30
Sameer Naik
90116b2396
replication without any downtime
2015-08-12 13:49:47 +05:30
Sameer Naik
b37908144d
output formatting
2015-08-12 13:49:47 +05:30
Sameer Naik
de21f71bf8
add --log-bin=mysql-bin to master only
2015-08-12 13:49:47 +05:30
Sameer Naik
bc3a8f788b
give MARIADB_USER all the required rights to do a mysqldump
2015-08-12 13:49:47 +05:30
Sameer Naik
b9380a0f61
fix mysqldump output so that it is compatible with the --init-file option
2015-08-12 13:49:47 +05:30
Sameer Naik
da687232d6
configure mysqldump to add the SLAVE START statement
2015-08-12 13:49:47 +05:30
Sameer Naik
4cf7c4702b
configure the MASTER_HOST before taking the dump
...
If you specify the `MASTER_HOST` or `MASTER_PORT` option, the slave assumes
that the master server is different from before (even if the option
value is the same as its current value.) In this case, the old values
for the master binary log file name and position are considered no
longer applicable, so if you do not specify `MASTER_LOG_FILE` and
`MASTER_LOG_POS` in the statement, `MASTER_LOG_FILE=''` and `MASTER_LOG_POS=4`
are silently appended to it.
Do avoid the resetting of `MASTER_LOG_FILE` and `MASTER_LOG_POS`, we
generated the dump after setting the `MASTER_HOST`
https://dev.mysql.com/doc/refman/5.0/en/change-master-to.html
2015-08-12 13:49:47 +05:30
Sameer Naik
993b16471e
added master/slave replication support
...
Example,
Start master:
```bash
docker run -it --rm --name mariadb-master \
-e 'MARIADB_USER=root' -e 'MARIADB_PASSWORD=password' \
-e 'MARIADB_DATABASE=newdatabase' \
-e 'REPLICATION_MODE=master' -e 'REPLICATION_USER=slave' -e 'REPLICATION_PASSWORD=slavepassword' \
bitnami/mariadb
```
Start Slave:
```bash
docker run -it --rm --name mariadb-slave \
--link mariadb-master:mariadb-master \
-e 'MARIADB_USER=root' -e 'MARIADB_PASSWORD=password' \
-e 'MARIADB_DATABASE=newdatabase' -e 'REPLICATION_MODE=slave' \
bitnami/mariadb
```
2015-08-12 13:49:47 +05:30
Sameer Naik
b596ffdb63
remove the config files generated by initdb at database initialization
2015-08-12 11:53:04 +05:30
Sameer Naik
2614cb8be9
populate configuration templates in conf.defaults at post-install
2015-08-12 11:52:29 +05:30
Sameer Naik
20327c7452
do not move postgresql.auto.conf to conf volume
2015-08-12 11:49:34 +05:30
Sameer Naik
a72915f127
do not create symlinks to config files
2015-08-12 11:47:55 +05:30
Sameer Naik
157a3f91ca
fix shebang
2015-08-12 11:45:10 +05:30
Sameer Naik
73b23d08af
readme: cleanups
2015-08-11 12:49:04 +05:30
Sameer Naik
37bb30a457
added README
2015-08-11 12:47:27 +05:30
Sameer Naik
59725356e3
use path to postgresql.conf in conf volume in PROGRAM_OPTIONS
2015-08-11 12:33:43 +05:30
Miguel Ángel Martínez Triviño
ecbb8eeef4
Merge pull request #18 from bitnami/5.5.45-0
...
Bump version 5.5.45-0
2015-08-10 13:05:57 -07:00
Miguel Martinez
173b1d5efd
Bump version 5.5.28-0
2015-08-10 12:07:57 -07:00
Miguel Martinez
1232c90b27
Bump version 5.5.45-0
2015-08-10 12:04:51 -07:00
Sameer Naik
24c6a7c02e
Merge branch 'conf-volume'
2015-08-10 23:44:05 +05:30
Sameer Naik
1eb940dad0
added conf volume
2015-08-10 23:42:16 +05:30
Sameer Naik
7f344811f2
fix typo
2015-08-10 23:28:41 +05:30
Sameer Naik
c8fd8ab5bf
Merge branch 'tests'
2015-08-10 23:20:24 +05:30
Sameer Naik
f97638d156
tests: "Data gets generated in data and logs if bind mounted in the host"
2015-08-10 23:18:07 +05:30
Sameer Naik
9a8f8225e6
tests: "All the volumes exposed"
2015-08-10 23:15:22 +05:30
Sameer Naik
d60f22808a
tests: "If host mounted, password and settings are preserved after deletion"
2015-08-10 23:13:03 +05:30
Sameer Naik
574237beb5
tests: "User and password settings are preserved after restart"
2015-08-10 23:10:37 +05:30
Sameer Naik
44f7753886
"Create custom user and database with password"
2015-08-10 23:10:37 +05:30
Sameer Naik
199f410130
tests: "Can't create a custom user without database"
2015-08-10 23:10:37 +05:30
Sameer Naik
2f7811a1ef
tests: "Custom database created"
2015-08-10 23:10:37 +05:30
Sameer Naik
3ee474a745
tests: "User postgres is superuser"
2015-08-10 23:10:37 +05:30
Sameer Naik
3bfc8feaf5
tests: "User postgres created with password"
2015-08-10 23:10:37 +05:30
Sameer Naik
7dfde6e416
tests: "Port 5432 exposed and accepting external connections"
2015-08-10 23:10:37 +05:30
Sameer Naik
132ba9bbf8
chown the data directory before calling initdb
...
since `initdb` is launched as the `postgres` user, we need to ensure
that the `data` directory is owned by the `postgres` user
2015-08-10 23:09:41 +05:30
Sameer Naik
d22b84c38a
do export LD_LIBRARY_PATH in the postgres command detection block
2015-08-10 22:42:10 +05:30
Sameer Naik
e0a2bc5122
fix shebang :)
2015-08-10 15:02:37 +05:30
Sameer Naik
624abc2c5c
tail postgresql logs
2015-08-10 14:40:54 +05:30
Sameer Naik
2a04c83d9c
log postgresql.log in logs volume
2015-08-08 22:39:52 +05:30
Sameer Naik
f7451f4319
initial creation
2015-08-08 22:39:48 +05:30
Sameer Naik
dd5ce48c57
fix links to hub.docker.com
2015-08-08 12:09:42 +05:30
Sameer Naik
f9f7e66984
fix links to hub.docker.com
2015-08-08 12:09:25 +05:30
Sameer Naik
609eaa6d28
fix links to hub.docker.com
2015-08-08 12:09:11 +05:30
Sameer Naik
63654145f0
fix links to hub.docker.com
2015-08-08 12:08:51 +05:30
Sameer Naik
15f903e533
fix links to hub.docker.com
2015-08-08 12:08:32 +05:30
Sameer Naik
2d8633cf2b
fix links to hub.docker.com
2015-08-08 12:08:16 +05:30