-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (46 loc) · 1.66 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
45
46
47
version: '2'
services:
web:
build:
context: ./images/applesus
args:
- REPOSADO_VERSION=${REPOSADO_VERSION}
- MARGARITA_VERSION=${MARGARITA_VERSION}
image: ianharrier/applesus:2.0.0
restart: unless-stopped
command: web
ports:
- ${WEB_PORT}:80
environment:
- BASE_URL=${WEB_BASE_URL}
- AUTH_TYPE=${AUTH_TYPE}
- AUTH_AD_URL=${AUTH_AD_URL}
- AUTH_AD_BIND_USER_DN=${AUTH_AD_BIND_USER_DN}
- AUTH_AD_BIND_PASSWORD=${AUTH_AD_BIND_PASSWORD}
- AUTH_AD_ALLOWED_GROUP_DN=${AUTH_AD_ALLOWED_GROUP_DN}
volumes:
- ./volumes/reposado/html:/srv/reposado/html:z
- ./volumes/reposado/metadata:/srv/reposado/metadata:z
cron:
build:
context: ./images/applesus
args:
- REPOSADO_VERSION=${REPOSADO_VERSION}
- MARGARITA_VERSION=${MARGARITA_VERSION}
image: ianharrier/applesus:2.0.0
restart: unless-stopped
command: cron
environment:
- BACKUP_OPERATION=${BACKUP_OPERATION}
- BACKUP_CRON_EXP=${BACKUP_CRON_EXP}
- BACKUP_RETENTION=${BACKUP_RETENTION}
- HOST_PATH=${PWD}
- BASE_URL=${WEB_BASE_URL}
- SYNC_CRON_EXP=${SYNC_CRON_EXP}
- PURGE_OPERATION=${PURGE_OPERATION}
- PURGE_CRON_EXP=${PURGE_CRON_EXP}
- TIMEZONE=${TIMEZONE}
volumes:
- ./volumes/reposado/html:/srv/reposado/html:z
- ./volumes/reposado/metadata:/srv/reposado/metadata:z
- ./:${PWD}:z