summaryrefslogtreecommitdiff
path: root/devgerrit/config.conf
diff options
context:
space:
mode:
authorYonghee Han <onstudy@samsung.com>2015-09-11 13:54:05 +0900
committerYonghee Han <onstudy@samsung.com>2015-09-11 13:54:05 +0900
commitec650da2d205c5c9c81c6e590e955aca7d4e02fa (patch)
treef31af774cf680077787871b61210f083fb7b6176 /devgerrit/config.conf
parent08f3e2976ea26ae7db0668a65e0d0bf09c78a4be (diff)
downloaddocker-script-gerrit.tar.gz
docker-script-gerrit.tar.bz2
docker-script-gerrit.zip
Initial gerrit 2.9.4.0.2 with dockergerrit
Change-Id: I06332ac25c45e81bb90fe3ff0fe7bc61a409cf30
Diffstat (limited to 'devgerrit/config.conf')
-rwxr-xr-xdevgerrit/config.conf58
1 files changed, 58 insertions, 0 deletions
diff --git a/devgerrit/config.conf b/devgerrit/config.conf
new file mode 100755
index 0000000..e9e0fce
--- /dev/null
+++ b/devgerrit/config.conf
@@ -0,0 +1,58 @@
+#===============================================================================
+# Copyright (c) 2014-2015 Samsung Electronics Co., Ltd.
+# Author onstudy@samsung.com
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; version 2 of the License
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#===============================================================================
+### Image name
+export IMAGES="tizendocker:443/gerritdrupalldap"
+
+### Repository name (and optionally a tag) to be applied to the resulting image in case of success
+export TAG="2.9.4.0.2"
+
+### Assign a name to the container
+export CONTAINER="gerritdrupalldap"
+
+### Publish a container's port to the host
+### format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort
+export PORTS="80 389 29418"
+
+### Read in a line delimited file of environment variables
+export ENVLIST="$(pwd)/env/env.list"
+
+### Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
+export VOLUMES="/home/gerritdrupalldap/var/lib/ldap/:/var/lib/ldap/
+ /home/gerritdrupalldap/etc/ldap/slapd.d/:/etc/ldap/slapd.d/
+ /home/gerritdrupalldap/var/lib/mysql:/var/lib/mysql/
+ /home/gerritdrupalldap/var/www/html/drupal/sites/default/:/var/www/html/drupal/sites/default/
+ /home/gerritdrupalldap/home/gerrit/gerrit/:/home/gerrit/gerrit/
+ $(pwd)/root/config/:/config/
+ "
+
+### Container host name
+export HOSTNAME="GerritDrupalLdap"
+
+### Give extended privileges to this container
+export PRIVILEGED=no
+
+### Restart policy to apply when a container exits (no, on-failure[:max-retry], always)
+export AUTOSTART=always
+
+### Add link to another container in the form of name:alias
+export LINK_IMAGES=""
+
+### Mount volumes from the specified container(s)
+export VOLUMES_IMAGES=""
+
+### Add a custom host-to-IP mapping (host:ip)
+export ADD_HOSTS=""
+
+### Add Linux capabilities
+export CAP_ADD=""