docker-compose.yml
1.07 KB
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
version: "3.5"
services:
dachs:
container_name: dachs-voparis
image: dachs-voparis
tty: true
expose:
- "${DACHS_PORT}"
- "${APACHE_PORT}"
- "22"
ports:
- "2222:22"
- "${DACHS_PORT}:${DACHS_PORT}"
- "${APACHE_PORT}:${APACHE_PORT}"
build:
context: .
dockerfile: dachs-dockerfile
args:
- "VERSION=${VERSION}"
- "GITREPO_SERVER=${GITREPO_SERVER}"
- "GITREPO_INSTITUTION=${GITREPO_INSTITUTION}"
- "DACHS_PORT=${DACHS_PORT}"
- "APACHE_PORT=${APACHE_PORT}"
- "SERVERNAME=${SERVERNAME}"
- "DOMAIN=${DOMAIN}"
- "PROTOCOL=${PROTOCOL}"
volumes:
#- ../apache/cgi-bin:/home/dachsroot/apache/cgi-bin
- ../apache/logapache:/var/log/apache2
- ../apache/dachslogs:/var/gavo/logs
# example if you need to mount volumes (e.g if your service needs to parse files or if you want to upload it through dachs)
#- paht/to/data:/var/gavo/inputs/service/data
### To uncomment for production :
# restart: always