summaryrefslogtreecommitdiff
path: root/devobsserver/config.conf
blob: fd3034639a0d8aa64f3003b8cfd84a6c9613a32e (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
59
60
61
62
#===============================================================================
# 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=""