-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (42 loc) · 1.26 KB
/
docker-compose.yml
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
version: "3.9"
services:
apache:
build:
context: ./apache
args:
- AUTH_LDAP_URL=${AUTH_LDAP_URL}
- AUTH_LDAP_BIND_DN=${AUTH_LDAP_BIND_DN}
- AUTH_LDAP_BIND_PASSWORD=${AUTH_LDAP_BIND_PASSWORD}
- HOSTNAME=${HOSTNAME}
- SERVER_ADMIN_MAIL=${SERVER_ADMIN_MAIL}
hostname: ${HOSTNAME}
container_name: apache
volumes:
- $PWD/apache/htdocs:/var/www
- $PWD/apache/logs:/var/log/apache2
- $PWD/certs:/etc/letsencrypt
ports:
- 80:80
- 443:443
environment:
- LETS_ENCRYPT_EMAIL=${LETS_ENCRYPT_EMAIL}
network_mode: "custom-docker"
restart: always
hyrax:
image: opendap/hyrax:1.16.8
hostname: hyrax
container_name: hyrax
depends_on:
- apache
ports:
- 8009:8009
- 8443:8443
volumes:
- $PWD/hyrax/data:/usr/share/hyrax
- $PWD/hyrax/logs:/home/tomcat/apache-tomcat-9.0.65/logs
- $PWD/hyrax/conf:/home/tomcat/apache-tomcat-9.0.65/conf
- $PWD/hyrax/conf/olfs.xml:/home/tomcat/apache-tomcat-9.0.65/webapps/opendap/WEB-INF/conf/olfs.xml
- $PWD/hyrax/ncWMS2:/home/tomcat/apache-tomcat-9.0.65/webapps/ncWMS2
- $PWD/certs:/certs
network_mode: "custom-docker"
restart: always