-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
readme-vars.yml
168 lines (156 loc) · 8.12 KB
/
readme-vars.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
---
# project information
project_name: quassel-core
project_url: "http://quassel-irc.org/"
project_logo: "http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/256/Apps-quassel-icon.png"
project_blurb: |
[{{ project_name|capitalize }}]({{ project_url }}) is a modern, cross-platform, distributed IRC client, meaning that one (or multiple) client(s) can attach to and detach from a central core.
This container handles the IRC connection (quasselcore) and requires a desktop client (quasselclient) to be used and configured. It is designed to be always on and will keep your identity present in IRC even when your clients cannot be online. Backlog (history) is downloaded by your client upon reconnection allowing infinite scrollback through time.
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
project_deprecation_status: true
# supported architectures
available_architectures:
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# container parameters
common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}"
param_usage_include_vols: true
param_volumes:
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Database and quassel-core configuration storage."}
param_usage_include_ports: true
param_ports:
- {external_port: "4242", internal_port: "4242", port_desc: "The port quassel-core listens for connections on."}
# optional container parameters
opt_param_usage_include_env: true
opt_param_env_vars:
- {env_var: "RUN_OPTS", env_value: "--config-from-environment", desc: "Custom CLI options for Quassel"}
opt_param_usage_include_ports: true
opt_param_ports:
- {external_port: "113", internal_port: "10113", port_desc: "Optional Ident Port"}
# application setup block
app_setup_block_enabled: true
app_setup_block: |
Quassel wiki: [quassel](http://bugs.quassel-irc.org/projects/quassel-irc/wiki)
A great place to host a quassel instance is a VPS, such as [DigitalOcean](https://www.digitalocean.com/?refcode=501c48b34b8c). For $5 a month you can have a 24/7 IRC connection and be up and running in under 55 seconds (or so they claim).
Once you have the container running, fire up a quassel desktop client and connect to your new core instance using your droplets public IP address and the port you specified in your `docker run` command *default: 4242*. Create an admin user, select SQLite as your storage backend (Quassel limitation). Setup your real name and nick, then press `Save & Connect`.
You're now connected to IRC. Let's add you to our [IRC](http://www.linuxserver.io/index.php/irc/) `#linuxserver.io` room on Freenode. Click 'File' > 'Networks' > 'Configure Networks' > 'Add' (under Networks section, not Servers) > 'Use preset' > Select 'Freenode' and then configure your identity using the tabs in the 'Network details' section. Once connected to Freenode, click `#join` and enter `#linuxserver.io`. That's it, you're done.
## Stateless usage
To use Quassel in stateless mode, where it needs to be configured through
environment arguments, run it with the `--config-from-environment` RUN_OPTS environment setting.
| Env | Usage |
| :----: | --- |
| DB_BACKEND | `SQLite` or `PostgreSQL` |
| DB_PGSQL_USERNAME | PostgreSQL User |
| DB_PGSQL_PASSWORD | PostgreSQL Password |
| DB_PGSQL_HOSTNAME | PostgreSQL Host |
| DB_PGSQL_PORT | PostgreSQL Port |
| AUTH_AUTHENTICATOR | `Database` or `LDAP` |
| AUTH_LDAP_HOSTNAME | LDAP Host |
| AUTH_LDAP_PORT | LDAP Port |
| AUTH_LDAP_BIND_DN | LDAP Bind Domain |
| AUTH_LDAP_BIND_PASSWORD | LDAP Password |
| AUTH_LDAP_FILTER | LDAP Authentication Filters |
| AUTH_LDAP_UID_ATTRIBUTE | LDAP UID |
Additionally you have RUN_OPTS that can be used to customize pathing and behavior.
| Option | Example |
| :----: | --- |
| --strict-ident | strictly bool `--strict-ident` |
| --ident-daemon | strictly bool `--ident-daemon` |
| --ident-port | `--ident-port "10113"` |
| --ident-listen | `--ident-listen "::,0.0.0.0"` |
| --ssl-cert | `--ssl-cert /config/keys/cert.crt` |
| --ssl-key | `--ssl-key /config/keys/cert.key` |
| --require-ssl | strictly bool `--require-ssl` |
Minimal example with SQLite:
```
docker create \
--name=quassel-core \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-e RUN_OPTS='--config-from-environment' \
-e DB_BACKEND=SQLite \
-e AUTH_AUTHENTICATOR=Database \
-p 4242:4242 \
-v <path to data>:/config \
--restart unless-stopped \
linuxserver/quassel-core
```
# init diagram
init_diagram: |
"quassel-core:latest": {
docker-mods
base {
fix-attr +\nlegacy cont-init
}
docker-mods -> base
legacy-services
custom services
init-services -> legacy-services
init-services -> custom services
custom services -> legacy-services
legacy-services -> ci-service-check
init-migrations -> init-adduser
init-os-end -> init-config
init-config -> init-config-end
init-quassel-config -> init-config-end
init-os-end -> init-crontab-config
init-mods-end -> init-custom-files
init-config-end -> init-deprecate
base -> init-envfile
base -> init-migrations
base -> init-mods
init-config-end -> init-mods
init-mods -> init-mods-end
init-mods-package-install -> init-mods-end
init-mods -> init-mods-package-install
base -> init-os-end
init-adduser -> init-os-end
init-envfile -> init-os-end
init-migrations -> init-os-end
init-config -> init-quassel-config
init-custom-files -> init-services
init-deprecate -> init-services
init-mods-end -> init-services
init-services -> svc-cron
svc-cron -> legacy-services
init-services -> svc-quassel
svc-quassel -> legacy-services
}
Base Images: {
"baseimage-alpine:3.20"
}
"quassel-core:latest" <- Base Images
# changelog
changelogs:
- {date: "26.12.24:", desc: "Deprecate."}
- {date: "26.08.23:", desc: "Rebase to Alpine 3.20."}
- {date: "10.11.23:", desc: "Rebase to Alpine 3.18."}
- {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
- {date: "13.02.23:", desc: "Rebase to Alpine 3.17, migrate to s6v3."}
- {date: "03.01.22:", desc: "Rebase to alpine 3.15. Add new build deps and apply other fixes for 0.14."}
- {date: "07.08.21:", desc: "Fixing incorrect database password variable operator."}
- {date: "19.12.19:", desc: "Rebasing to alpine 3.11."}
- {date: "28.06.19:", desc: "Rebasing to alpine 3.10."}
- {date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag."}
- {date: "20.03.19:", desc: "Make stateless operation an option, with input from one of the quassel team."}
- {date: "26.01.19:", desc: "Add pipeline logic and multi arch."}
- {date: "08.01.19:", desc: "Rebase to Ubuntu Bionic and upgrade to Quassel`0.13.0` See [here.](https://quassel-irc.org/node/134)."}
- {date: "30.07.18:", desc: "Rebase to alpine:3.8 and use buildstage."}
- {date: "03.01.18:", desc: "Deprecate cpu_core routine lack of scaling."}
- {date: "09.12.17:", desc: "Rebase to alpine:3.7."}
- {date: "26.11.17:", desc: "Use cpu core counting routine to speed up build time."}
- {date: "12.07.17:", desc: "Add inspect commands to README, move to jenkins build and push."}
- {date: "27.05.17:", desc: "Rebase to alpine:3.6."}
- {date: "13.05.17:", desc: "Switch to git source."}
- {date: "28.12.16:", desc: "Rebase to alpine:3.5."}
- {date: "23.11.16:", desc: "Rebase to alpine:edge."}
- {date: "23.09.16:", desc: "Use QT5 dependencies (thanks bauerj)."}
- {date: "10.09.16:", desc: "Add layer badges to README."}
- {date: "28.08.16:", desc: "Add badges to README."}
- {date: "10.08.16:", desc: "Rebase to xenial."}
- {date: "14.10.15:", desc: "Removed the webui, turned out to be to unstable for most usecases."}
- {date: "01.09.15:", desc: "Fixed mistake in README."}
- {date: "30.07.15:", desc: "Switched to internal baseimage, and fixed a bug with updating the webinterface."}
- {date: "06.07.15:", desc: "Enabled BLOWFISH encryption and added a (optional) webinterface, for the times you dont have access to your client."}