Commit Graph

480993 Commits

Author SHA1 Message Date
Sameer Naik fc7dfc515e Merge branch 'tests' 2015-08-13 23:01:11 +05:30
Sameer Naik 53c8959480 Deploy sample application 2015-08-13 22:53:22 +05:30
Sameer Naik a612a57140 tests: If host mounted, password and settings are preserved after deletion 2015-08-13 22:27:15 +05:30
Sameer Naik ae135e0684 tests: Data gets generated in conf if bind mounted in the host 2015-08-13 22:26:36 +05:30
Sameer Naik 6fd79affe4 tests: All the volumes exposed 2015-08-13 22:08:39 +05:30
Sameer Naik 8bd8ee426f tests: Password is preserved after restart 2015-08-13 22:05:00 +05:30
Sameer Naik 1d02956986 tests: Can't access management area without password 2015-08-13 21:33:01 +05:30
Sameer Naik 263481a2e7 tests: User manager created with password 2015-08-13 21:11:40 +05:30
Sameer Naik d32f4fe9d3 tests: Manager has access to management area 2015-08-13 21:11:34 +05:30
Sameer Naik ac56239710 tests: `Port 8080 exposed and accepting external connections` 2015-08-13 20:38:40 +05:30
Sameer Naik 98b5c1cc55 fix `sed` command to set `TOMCAT_PASSWORD` 2015-08-13 20:21:57 +05:30
Sameer Naik c98df9f4a9 readme: mention that `manager` user is not assigned a password by default 2015-08-13 20:17:29 +05:30
Sameer Naik b8794833ec Merge branch 'readme' 2015-08-13 20:14:53 +05:30
Sameer Naik 0494f69dfa readme: added `Configuration files` section 2015-08-13 20:10:20 +05:30
Sameer Naik 8ec83ef07a readme: added `Setting the manager password on first run` configuration section 2015-08-13 20:02:22 +05:30
Sameer Naik 13b8963076 readme: added `Accessing your Tomcat server from the host` section 2015-08-13 19:49:00 +05:30
Sameer Naik a8f87c5268 readme: added `Deploying web applications on Tomcat` section 2015-08-13 19:45:47 +05:30
Sameer Naik 856667707e basic readme 2015-08-13 19:17:49 +05:30
Sameer Naik cc09b9d041 display application credentials even when `TOMCAT_PASSWORD` is not specified 2015-08-13 13:36:06 +05:30
Sameer Naik 39ba0ff825 update `sed` command to set `TOMCAT_PASSWORD` 2015-08-13 13:30:47 +05:30
Sameer Naik f888cb7e2a symlink contents of `$BITNAMI_APP_DIR/webapps.defaults/` instead of copying them to `/app/` 2015-08-13 10:27:54 +05:30
Sameer Naik fdf500092f fix `/app` symlink 2015-08-13 10:27:33 +05:30
Sameer Naik 94b27ce290 added .dockerignore 2015-08-13 00:37:20 +05:30
Sameer Naik 43107d080f moved `BITNAMI_APP_VOL_PREFIX/webapps/` to `/app/` 2015-08-13 00:35:40 +05:30
Sameer Naik db4021c8ed comments! 2015-08-12 23:44:57 +05:30
Sameer Naik 41ea1e582b replaced `/app` volume with `$BITNAMI_APP_VOL_PREFIX/webapps` volume
Users can drop the `.war` files of their applications into this
directory and Tomcat will automatically pick them up.
2015-08-12 23:40:09 +05:30
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