diff options
| author | RP <yctct@yctct.com> | 2026-10-05 17:38:34 +0200 |
|---|---|---|
| committer | RP <yctct@yctct.com> | 2026-10-05 17:38:34 +0200 |
| commit | 9cc386d62a1e15ee195dc0e7ed9e9675e347ecc4 (patch) | |
| tree | 5341adcdd88fac690434b710e579d4c7d4b54a19 | |
| parent | e12f7ccdf629255f8d9f6f8ae5ba7c4b64cae3d3 (diff) | |
Add files, update gitignore
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | docker-compose.yaml | 48 | ||||
| -rw-r--r-- | pages/about.md | 14 |
3 files changed, 63 insertions, 0 deletions
@@ -1 +1,2 @@ .env +flohmarkt.conf diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..a606327 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,48 @@ +# For prebuilt, production environments +services: + database: + image: docker.io/library/couchdb:3.3 + environment: + - COUCHDB_USER=${FLOHMARKT_DB_USER} + - COUCHDB_PASSWORD=${FLOHMARKT_DB_PASSWORD} + volumes: + - ./couchdb_data:/opt/couchdb/data + healthcheck: + test: ["CMD", "curl", "--fail", "http://localhost:5984"] + interval: 10s + timeout: 5s + retries: 3 + restart: "always" + + init: + command: initdb + image: codeberg.org/flohmarkt/flohmarkt:latest + env_file: + - .env + volumes: + - ./flohmarkt_data:/var/lib/flohmarkt + - ./flohmarkt.conf:/etc/flohmarkt/flohmarkt.conf:rw + depends_on: + database: + condition: service_healthy + restart: "no" + + web: + command: web + image: codeberg.org/flohmarkt/flohmarkt:latest + env_file: + - .env + volumes: + - ./flohmarkt_data:/var/lib/flohmarkt + ports: + - "127.0.0.1:8000:8000" + depends_on: + database: + condition: service_healthy + init: + condition: service_completed_successfully + restart: "always" + +volumes: + couchdb_data: + flohmarkt_data: diff --git a/pages/about.md b/pages/about.md new file mode 100644 index 0000000..b3a8c28 --- /dev/null +++ b/pages/about.md @@ -0,0 +1,14 @@ +# About this instance + +Willlkommen zur Instanz **flohmarkt berlin** – eine alternative kleinanzeigen +für berlin. Unser Ziel ist es, Dinge zu behalten einfach, lokal und +vollständig föderiert. + +## Regeln + +Die Instanz ist nicht für den verkauf verantwortlich und kann artikel entfernen. + +## Verwaltung + +- admin: yctct. +- kontakt: flohmarkt@yctct.com |
