8 Commits
Author SHA1 Message Date
Lance Ju 83283dfe37 Merge remote-tracking branch 'origin/master'
Add the support of postgres as the database.
(Config the db in the build.sh file, make the DB_TYPE to 'postgres').
2014-04-16 00:58:09 +08:00
Lance Ju f456f964ec Add the apt source when installing potgres.
Replace the host with $DB_PORT, which is dependent to the database imagae's exposed port.
2014-04-16 00:55:39 +08:00
Lance Ju 1f989d0b98 Replace the 'mysql' options with 'db' options in build.sh 2014-04-16 00:54:02 +08:00
Lance Ju 8080beea85 Add the line to replace the database type.
Replace the 'mysql' options with 'db' options, makeing the config according to the database type.
2014-04-16 00:17:52 +08:00
Lance Ju 1d3c7693b7 Build the database image by the variable DB_TYPE, but not mysql. 2014-04-16 00:16:32 +08:00
Lance Ju 6cc914b090 Rename the posgresql to postgres, add the Dockerfile for postgres image. 2014-04-16 00:14:17 +08:00
Lance Ju b1a3ba9932 Fix the path problem, which will build the mysql image as the gogits image 2014-04-11 15:32:57 +08:00
Lance Ju 2315dc39b6 Add the auto build scripts for deplying gogs with Docker. 2014-04-11 14:55:43 +08:00