#=============================================================================== # 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/obsserver" ### Repository name (and optionally a tag) to be applied to the resulting image in case of success export TAG="2.4.0.7" ### Assign a name to the container export CONTAINER="obsserver_2.4" ### Publish a container's port to the host ### format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort export PORTS="80 81 82 443 444 5152 5252 5352" ### 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=" $(pwd)/root/srv/www/obs/api/config/options.yml:/srv/www/obs/api/config/options.yml $(pwd)/root/srv/www/obs/webui/config/options.yml:/srv/www/obs/webui/config/options.yml $(pwd)/root/usr/lib/obs/server/BSConfig.pm:/usr/lib/obs/server/BSConfig.pm /home/obsserver_2.4/var/lib/mysql:/var/lib/mysql /home/obsserver_2.4/root/root/:/root/ /home/obsserver_2.4/srv/obs/:/srv/obs/ " ### Container host name export HOSTNAME="OBSServer" ### 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="SYS_ADMIN SYS_PTRACE" ### Add Security Options( ex)apparmor:unconfined ) export SECURITY_ADD=""