Skip to content
Snippets Groups Projects
Verified Commit 4631e346 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Changed default arguments

parent b7b9c988
Branches
No related tags found
No related merge requests found
...@@ -76,4 +76,4 @@ ENV AUTH_LDAP_BASE_DN="" ...@@ -76,4 +76,4 @@ ENV AUTH_LDAP_BASE_DN=""
ENV AUTH_LDAP_FILTER="" ENV AUTH_LDAP_FILTER=""
ENV AUTH_LDAP_UID_ATTRIBUTE="uid" ENV AUTH_LDAP_UID_ATTRIBUTE="uid"
ENTRYPOINT ["quasselcore", "--configdir", "/config", "--config-from-environment"] ENTRYPOINT ["quasselcore", "--configdir", "/config"]
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
## Stateful usage (with UI Wizard) ## Stateful usage (with UI Wizard)
To use Quassel statefully (which allows you to configure the core on first use) By default, the core will be run in stateful mode.
run it with `--entrypoint=/usr/bin/quasselcore` and make sure to include
`--configdir /config` as argument.
If you use the core in this mode, you’ll have to make sure `/config` is stored If you use the core in this mode, you’ll have to make sure `/config` is stored
on a volume. on a volume.
...@@ -14,15 +12,13 @@ Example usage: ...@@ -14,15 +12,13 @@ Example usage:
```bash ```bash
docker run \ docker run \
-v /path/to/quassel/volume:/config \ -v /path/to/quassel/volume:/config \
--entrypoint=/usr/bin/quasselcore \ k8r.eu/justjanne/quassel-docker:v0.13.1
k8r.eu/justjanne/quassel-docker:v0.13.1 \
--configdir /quassel
``` ```
## Stateless usage ## Stateless usage
By default, the core will be run in stateless mode, where it needs to be To use Quassel in stateless mode, where it needs to be configured through
configured through environment arguments. environment arguments, run it with the `--config-from-environment` argument.
`DB_BACKEND` defines the backend used for the database, this can be `SQLite` or `DB_BACKEND` defines the backend used for the database, this can be `SQLite` or
`PostgreSQL`. In case `SQLite` is used, the database will be stored in `PostgreSQL`. In case `SQLite` is used, the database will be stored in
...@@ -43,7 +39,8 @@ docker run \ ...@@ -43,7 +39,8 @@ docker run \
-v /path/to/quassel/volume:/config \ -v /path/to/quassel/volume:/config \
-e DB_BACKEND=SQLite \ -e DB_BACKEND=SQLite \
-e AUTH_AUTHENTICATOR=Database \ -e AUTH_AUTHENTICATOR=Database \
k8r.eu/justjanne/quassel-docker:v0.13.1 k8r.eu/justjanne/quassel-docker:v0.13.1 \
--config-from-environment
``` ```
Full example with PostgreSQL and examples of other options: Full example with PostgreSQL and examples of other options:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment