forked from open-osp/open-osp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.admin.yml
58 lines (51 loc) · 1.43 KB
/
docker-compose.admin.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
48
49
50
51
52
53
54
55
56
57
version: '3'
services:
propertieseditor:
build: ./docker/propertieseditor
ports:
- 5000:5000
volumes:
- ./docker/propertieseditor:/code
- ./volumes/oscar.properties:/code/oscar.properties
env_file:
- local.env
restart: always
networks:
- back-tier
nginx:
restart: 'always'
image: nginx:latest
networks:
- back-tier
volumes:
- ./static:/static
- ./conf/ssl.crt:/ssl/ssl.crt
- ./conf/ssl.key:/ssl/ssl.key
- ./nginx/conf.d/default.conf:/etc/nginx/conf.d/oscar.template
env_file:
- local.env
command: sh -c "envsubst \"`env | awk -F = '{printf \" $$%s\", $$1}'`\" < /etc/nginx/conf.d/oscar.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
health:
build: docker/health
volumes:
- ./docker/health/health.sh:/health.sh
- ./docker/health/health-checker.sh:/health-checker.sh
- ./volumes/ssl.crt:/usr/local/tomcat/conf/ssl.crt
- ./volumes/ssl.key:/usr/local/tomcat/conf/ssl.key
networks:
- back-tier
env_file:
- local.env
cpcssn:
image: osp-extract-linux-container
env_file: local.env
environment:
- CPCSSN_DRY_RUN=true
# - CPCSSN_SITE=
# - MYSQL_USER=
# - MYSQL_PASSWORD=
networks:
- back-tier
networks:
back-tier:
driver: bridge