Skip to content

Commit 2e07b2a

Browse files
committed
chore: refactor examples
1 parent 97a319c commit 2e07b2a

File tree

6 files changed

+45
-4
lines changed

6 files changed

+45
-4
lines changed

docs/setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ The following steps describe how to set up the application system:
9595

9696
```bash
9797
cd /srv \
98-
&& wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/docs/examples/docker-compose.yaml \
99-
&& wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/docs/examples/traefik.yaml \
100-
&& wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/docs/examples/.env.example
98+
&& wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/examples/public/docker-compose.yaml \
99+
&& wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/examples/public/traefik.yaml \
100+
&& wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/examples/public/.env.example
101101
```
102102

103103
1. Rename environment file and fill out the gaps `mv .env.example .env`
@@ -144,7 +144,7 @@ The following opinionated steps describe to push data to a Grafana instance via
144144
1. Copy the Grafana Agent configuration example:
145145

146146
```bash
147-
wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/docs/examples/grafana-agent.yaml
147+
wget https://raw.githubusercontent.com/openscript-ch/quassel/refs/heads/main/examples/public/grafana-agent.yaml
148148
```
149149

150150
1. Replace the `remote_write` url and token in `grafana-agent.yaml`.

examples/local/docker-compose.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "quassel"
2+
3+
volumes:
4+
storage:
5+
database:
6+
letsencrypt:
7+
8+
services:
9+
backend:
10+
image: quassel-backend:latest
11+
volumes:
12+
- storage:/app/storage
13+
depends_on:
14+
- database
15+
ports:
16+
- "3000:4000"
17+
environment:
18+
LANG: C.UTF-8
19+
CORS_ORIGIN: http://localhost:4001
20+
SESSION_SECRET: secret
21+
SESSION_SALT: salt
22+
DATABASE_HOST: database
23+
DATABASE_PASSWORD: secret
24+
25+
database:
26+
image: postgres:17.0-alpine
27+
volumes:
28+
- database:/var/lib/postgresql/data
29+
environment:
30+
POSTGRES_PASSWORD: "secret"
31+
32+
frontend:
33+
image: quassel-frontend:latest
34+
ports:
35+
- "80:4001"
36+
environment:
37+
API_URL: http://localhost:4000
38+
mockup:
39+
image: quassel-mockup:latest
40+
ports:
41+
- "80:4002"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)