Skip to content

Commit

Permalink
Update tomcat env possibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
lr101 committed Sep 4, 2024
1 parent 37dd911 commit 548b296
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ This service is run via docker:
INFLUXDB_TOKEN=<influx_token>
INFLUXDB_BUCKET=tempserver
INFLUXDB_ORG=<org>
# optional
MAX_THREADS=5
MAX_CONNECTIONS=200
```
Fill in your own values for connecting to existing postgresdb or influxdb instances. Create your own influxdb token via the influx ui.
2. Copy the `docker-compose.yml` file into the same folder
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
server:
port: ${PORT:8080}
tomcat:
threads:
max: ${MAX_THREADS:5}
max-connections: ${MAX_CONNECTIONS:200}

spring:
config:
Expand Down

0 comments on commit 548b296

Please sign in to comment.