Skip to content
Snippets Groups Projects

Pass Java arguments to Docker containers

3 files
+ 17
6
Compare changes
  • Side-by-side
  • Inline

Files

+ 15
6
@@ -33,6 +33,13 @@ java -jar core.jar
docker run f00f/auta-core
```
The following environment variables can be passed:
| Environment variable | Description | Required |
|----------------------|--------------------------------------------------------------|----------|
| JAVA_ARGS | Arbitrary command line arguments to pass to the java process | 🙅 |
| AUTA_ARGS | Arbitrary command line arguments to pass to the AuTA process | 🙅 |
The server allows for set-up using username `admin` and password `admin`. Configure the server
as needed and restart the process.
@@ -61,12 +68,14 @@ As opposed to running the worker with the jar, all environment variables are man
A table of environment variables that should be passed to the container:
| Environment variable | Description |
|----------------------|------------------------------------------|
| COREADDRESS | Address to reach the core on |
| APIKEY | Worker API token |
| APIPORT | Port to reach the API on |
| APIPROTOCOL | Protocol to use for the API (http/https) |
| Environment variable | Description | Required |
|----------------------|--------------------------------------------------------------|----------|
| COREADDRESS | Address to reach the core on | 👌 |
| APIKEY | Worker API token | 👌 |
| APIPORT | Port to reach the API on | 👌 |
| APIPROTOCOL | Protocol to use for the API (http/https) | 👌 |
| JAVA_ARGS | Arbitrary command line arguments to pass to the java process | 🙅 |
| AUTA_ARGS | Arbitrary command line arguments to pass to the AuTA process | 🙅 |
### Devops
Loading