summaryrefslogtreecommitdiff
path: root/devgerrit/config.conf
diff options
context:
space:
mode:
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=""