blob: e9e0fcea654f3cec327a1287e6cd0cf9b84fe0e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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=""
|