Skip to content

Commit 44dc3f9

Browse files
committed
Update Docker override example
1 parent 84d72c1 commit 44dc3f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,17 @@ There are a variety of configuration options detailed in the [application config
117117
When deploying with docker, these can be overriden externally by creating/modifying `docker-compose.override.yml` as follows:
118118

119119
```yaml
120-
version: '2'
120+
version: '3.2'
121121
services:
122122
spring:
123123
environment:
124-
githubAPI.authentication: oauth
125-
githubAPI.oauthToken: abcdefghhijklmnopqrstuvwxyz
124+
applicationName: Common Workflow Language Viewer
125+
applicationURL: https://view.commonwl.org
126+
cacheDays: 1
126127
```
127128

128129
The properties can alternatively be provided as system properties on the
129-
command line, e.g. `-DgithubAPI.authentication=oauth`
130-
`-DgithubAPI.oauthToken=abcdefghhijklmnopqrstuvwxyz` or via a [variety of other methods supported by Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html)
130+
command line, e.g. `-DcacheDays=1` or via a [variety of other methods supported by Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html)
131131

132132
# Thanks
133133

0 commit comments

Comments
 (0)