-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
147 lines (147 loc) · 6.17 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
services:
web:
# Docker image (NAME:TAG)
# - image: ghcr.io/geowerkstatt/interlis-check-service:v3
# Stable tag for a specific major version
#
# - image: ghcr.io/geowerkstatt/interlis-check-service:v3.2.1
# Stable tag for a specific version
#
# - image: ghcr.io/geowerkstatt/interlis-check-service:latest
# Points to the latest stable tag, no matter what the current major version is
# May contain breaking changes and incompatibilities
# NOT RECOMMENDED!
#
# - image: ghcr.io/geowerkstatt/interlis-check-service:edge
# Reflects the last commit on the default branch (main)
# May contain breaking changes and incompatibilities
# NOT RECOMMENDED!
#image: ghcr.io/geowerkstatt/interlis-check-service:edge
build:
context: .
dockerfile: Dockerfile
target: final
args:
- VERSION=0.1.100
- REVISION=abcdefg
# Docker container restart behavior
restart: unless-stopped
# Mount paths as volumes
#
# volumes:
# - /path/to/logs:/logs
# Application and error logs
#
# - /path/to/uploads:/uploads
# Transfer files, ilivalidator and session logs
#
# - /path/to/config:/config
# Config folder with TOML files to control validation
#
# - /path/to/models:/models
# Folder containing optional ili files
#
# - /path/to/plugins:/plugins
# Folder containing optional ilivalidator plugins (jar files)
#
# - /path/to/web-assets:/web-assets
# Folder containing optional custom web assets
# examples: - favicon.ico
# - app.png (max-height: 200px, max-width: 650px)
# - vendor.png (max-height: 70px, max-width: 200px)
# - impressum.md (imprint as Markdown-formatted document)
# - datenschutz.md (privacy statement as Markdown-formatted document)
# - info-hilfe.md (operating instructions as Markdown-formatted document)
# - banner.md (info banner appearing on first validation, as Markdown-formatted document)
# - nutzungsbestimmungen.md (terms of use as Markdown-formatted document)
# Adding this document means the user must agree to the terms prior validation
# - quickstart.txt (line-separated brief instructions as plain text document)
volumes:
- ./src/ILICheck.Web/Logs:/logs
- ./src/ILICheck.Web/Uploads:/uploads
- ./src/ILICheck.Web/Config:/config
- ./src/ILICheck.Web/Catalogues:/catalogues
- ./src/ILICheck.Web/Models:/models
- ./src/ILICheck.Web/Plugins:/plugins
- ./src/ILICheck.Web/Web-Assets:/web-assets
# Add environment variables
#
# environment:
# - PUID=1000
# Optional, Default user id 1654
# Using PUID and PGID allows to map the container's internal user to a user on the
# host machine which prevents permisson issues when writing files to the mounted volume
#
# - PGID=1000
# Optional, Default group id 1654
# Using PUID and PGID allows to map the container's internal user to a user on the
# host machine which prevents permisson issues when writing files to the mounted volume
#
# - DELETE_TRANSFER_FILES=true
# Optional, If set to true, transfer files get deleted right after ilivalidator
# has completed validation
# Default false
#
# - TRANSFER_AND_LOG_DATA_RETENTION=15 minutes
# Optional, If set, transfer files and ilivalidator log files older than the
# specified value get deleted
# Keep in mind, a validation may last for several minutes. In order to prevent files
# from getting deleted during a long running validation choose at least '15 minutes'
# Default unset (preserves logs and transfer files forever)
# examples: - 30 minutes
# - 10 hours
# - 5 days
# - 3 weeks
# - 6 months
# - 1 year
#
# - ILIVALIDATOR_VERSION=1.11.10
# Optional, Default latest version available from https://interlis.ch/downloads/ilivalidator
#
# - ILIVALIDATOR_CONFIG_NAME=Beispiel1.TOML
# Optional TOML config file name in mounted /config volume
#
# - ILIVALIDATOR_ENABLE_TRACE=true
# Optional, Enable validation trace messages, Default false
#
# - ILIVALIDATOR_MODEL_DIR=https://models.example.com;http://models.interlis.ch/
# Optional semicolon-separated list of external repositories with ili-files
# Default http://models.interlis.ch/
#
# - ENABLE_GPKG_VALIDATION=true
# Optional, Default false
#
# - ILI2GPKG_VERSION=4.7.0
# Optional, Default latest version available from https://interlis.ch/downloads/ili2db
# The ili2gpkg version is only taken into account if ENABLE_GPKG_VALIDATION is set to true
#
# - PROXY=http://USER:[email protected]:8080
# Optional, Configuring proxy settings for all apps in the container
# Protocol (e.g. http://) and port (e.g. 8080) is mandatory in order do be able
# to parse values for ilivalidator properly
# examples: - http://example.com:8080
# - https://host.example.com:443
# - http://10.10.5.68:5698
# - https://USER:[email protected]:8443
#
# - NO_PROXY=host.example.com,10.1.0.0/16
# Optional, Specifies URLs that should be excluded from proxying
#
# - CUSTOM_APP_NAME=ilicop
# Optional custom application name
# Default INTERLIS Web-Check-Service
#
# - CUSTOM_VENDOR_LINK=https://www.example.com
# Optional link to the vendors webpage
# The link is only taken into account if there is a corresponding vendor.png
environment:
- PUID=1000
- PGID=1000
# Expose ports (HOST:CONTAINER)
#
# ports:
# - 3080:8080
# Map port 8080 in the container to any desired port on the Docker host
# INTERLIS Web-Check-Service web app runs on port 8080 inside the container
ports:
- 3080:8080