Compare commits

..

4 commits

Author SHA1 Message Date
89cab71539
env file is optional 2025-03-07 22:51:07 +01:00
a4e7ae9ec1
fix environnement variables 2025-03-07 22:45:03 +01:00
62d98cac71
fix and add traeffik and environnement configurations
change version for v-0.5
change db name
2025-03-07 22:36:18 +01:00
ded1243cbd
first draft for conduwuit 2025-03-07 22:08:29 +01:00
16 changed files with 94 additions and 19 deletions

View file

@ -0,0 +1,75 @@
# conduwuit - Behind Traefik Reverse Proxy
services:
homeserver:
### If you already built the conduduwit image with 'docker build' or want to use the Docker Hub image,
### then you are ready to go.
image: girlbossceo/conduwuit:v0.5.0-rc3-b6e9dc3d98704c56027219d3775336910a0136c6
restart: unless-stopped
volumes:
- db:/var/lib/conduwuit
#- ./conduwuit.toml:/etc/conduwuit.toml
ports:
- 6167:6167
networks:
- proxy
environment:
CONDUWUIT_SERVER_NAME: matrix.gnous.eu
CONDUWUIT_DATABASE_PATH: /var/lib/conduwuit
CONDUWUIT_PORT: 6167 # pas touche, c'est le port de Docker
CONDUWUIT_MAX_REQUEST_SIZE: 20000000 # in bytes, ~20 MB
CONDUWUIT_ALLOW_REGISTRATION: 'true'
CONDUWUIT_ALLOW_FEDERATION: 'true'
CONDUWUIT_ALLOW_CHECK_FOR_UPDATES: 'true'
CONDUWUIT_TRUSTED_SERVERS: '["matrix.org"]'
CONDUWUIT_LOG: warn,state_res=warn
CONDUWUIT_ADDRESS: 0.0.0.0 # because in a container
env_file:
- path: .env
required: false
#cpuset: "0-4" # Uncomment to limit to specific CPU cores
ulimits: # conduwuit uses quite a few file descriptors, and on some systems it defaults to 1024, so you can tell docker to increase it
nofile:
soft: 1048567
hard: 1048567
labels:
- "traefik.enable=true"
- "traefik.http.routers.mastodon-web.entrypoints=websecure"
- "traefik.http.routers.mastodon-web.rule=Host(`matrix.gnous.eu`)"
- "traefik.http.routers.mastodon-web.middlewares=proxyHeader@file,proxyError@file"
# volé depuis https://community.traefik.io/t/setting-up-conduit-matrix-server-with-traefik/19394
- "traefik.http.routers.to-conduit.middlewares=cors-headers@docker"
- "traefik.http.middlewares.cors-headers.headers.accessControlAllowOriginList=*"
- "traefik.http.middlewares.cors-headers.headers.accessControlAllowHeaders=Origin, X-Requested-With, Content-Type, Accept, Authorization"
- "traefik.http.middlewares.cors-headers.headers.accessControlAllowMethods=GET, POST, PUT, DELETE, OPTIONS"
### Uncomment if you want to use your own Element-Web App.
### Note: You need to provide a config.json for Element and you also need a second
### Domain or Subdomain for the communication between Element and conduwuit
### Config-Docs: https://github.com/vector-im/element-web/blob/develop/docs/config.md
#element-web:
# image: vectorim/element-web:latest
# restart: unless-stopped
# #volumes:
# # - ./element_config.json:/app/config.json
# networks:
# - proxy
# ports:
# - 3000:80
# depends_on:
# - homeserver
volumes:
db:
driver: local
networks:
# This is the network Traefik listens to, if your network has a different
# name, don't forget to change it here and in the docker-compose.override.yml
proxy:
external: true
# vim: ts=2:sw=2:expandtab

View file

@ -9,7 +9,7 @@ volumes:
services:
server:
image: codeberg.org/forgejo/forgejo:11.0.0
image: codeberg.org/forgejo/forgejo:10.0.1
restart: always
container_name: forgejo
env_file:

View file

@ -4,7 +4,7 @@ networks:
services:
renovate:
image: ghcr.io/renovatebot/renovate:39.261.0-full
image: ghcr.io/renovatebot/renovate:39.185.0-full
restart: always
environment:
- LOG_LEVEL=info

View file

@ -1,6 +1,6 @@
services:
backup:
image: mazzolino/restic:1.8.0
image: mazzolino/restic:1.7.2
hostname: docker
restart: unless-stopped
environment:
@ -31,7 +31,7 @@ services:
- ./ssh:/run/secrets/.ssh:ro
prune:
image: mazzolino/restic:1.8.0
image: mazzolino/restic:1.7.2
hostname: docker
restart: unless-stopped
environment:

View file

@ -8,7 +8,7 @@ volumes:
services:
server:
image: "searxng/searxng:2025.4.24-c6c6d3027"
image: "searxng/searxng:2025.1.6-6dab7fe78"
depends_on:
- "redis"
environment:

View file

@ -1,6 +1,6 @@
services:
traefik-kop:
image: "ghcr.io/jittering/traefik-kop:0.16"
image: "ghcr.io/jittering/traefik-kop:0.14"
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View file

@ -8,7 +8,7 @@ volumes:
services:
wallabag:
image: wallabag/wallabag:2.6.12
image: wallabag/wallabag:2.6.10
restart: unless-stopped
environment:
- SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql

View file

@ -12,7 +12,7 @@ volumes:
services:
gitlab:
image: gitlab/gitlab-ce:17.11.1-ce.0
image: gitlab/gitlab-ce:17.9.1-ce.0
container_name: gitlab
restart: always
hostname: "gitlab.gnous.eu"

View file

@ -13,7 +13,7 @@ services:
- mastodon
web:
image: ghcr.io/mastodon/mastodon:v4.3.7
image: ghcr.io/mastodon/mastodon:v4.3.4
restart: always
env_file:
- path: .env.production
@ -42,7 +42,7 @@ services:
- "ofelia.job-exec.clean-account.command=tootctl accounts cull"
streaming:
image: ghcr.io/mastodon/mastodon-streaming:v4.3.7
image: ghcr.io/mastodon/mastodon-streaming:v4.3.4
restart: always
env_file:
- path: .env.production
@ -65,7 +65,7 @@ services:
- "traefik.http.routers.mastodon-streaming.middlewares=proxyHeader@file,proxyError@file"
sidekiq:
image: ghcr.io/mastodon/mastodon:v4.3.7
image: ghcr.io/mastodon/mastodon:v4.3.4
restart: always
env_file:
- path: .env.production

View file

@ -1,6 +1,6 @@
services:
backup:
image: mazzolino/restic:1.8.0
image: mazzolino/restic:1.7.2
hostname: docker
restart: unless-stopped
environment:
@ -28,7 +28,7 @@ services:
- ./ssh:/run/secrets/.ssh:ro
prune:
image: mazzolino/restic:1.8.0
image: mazzolino/restic:1.7.2
hostname: docker
restart: unless-stopped
environment:

View file

@ -1,6 +1,6 @@
services:
traefik-kop:
image: "ghcr.io/jittering/traefik-kop:0.16"
image: "ghcr.io/jittering/traefik-kop:0.14"
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View file

@ -9,7 +9,7 @@ volumes:
services:
server:
image: woodpeckerci/woodpecker-server:v3.5.2
image: woodpeckerci/woodpecker-server:v3.2.0
container_name: woodpecker_server
environment:
- WOODPECKER_OPEN=true

View file

@ -15,7 +15,7 @@ services:
restart: unless-stopped
ports:
- 8085:3000
image: semaphoreui/semaphore:v2.13.15
image: semaphoreui/semaphore:v2.12.14
env_file:
- path: .env
required: false

View file

@ -1,6 +1,6 @@
services:
traefik-kop:
image: "ghcr.io/jittering/traefik-kop:0.16"
image: "ghcr.io/jittering/traefik-kop:0.14"
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View file

@ -11,7 +11,7 @@ services:
- db-data:/var/lib/postgresql/data
server:
image: ghcr.io/requarks/wiki:2.5.307
image: ghcr.io/requarks/wiki:2.5.306
depends_on:
- db
environment:

View file

@ -10,7 +10,7 @@ volumes:
services:
server:
image: woodpeckerci/woodpecker-server:v3.5.2
image: woodpeckerci/woodpecker-server:v3.2.0
container_name: woodpecker_server
environment:
- WOODPECKER_OPEN=false