Compare commits

..

No commits in common. "b573b4cb857b6fc95015c227e41385723464787d" and "27e8dc5830d15c2a3413e1badb3ef6804fa7b377" have entirely different histories.

7 changed files with 6 additions and 30 deletions

0
.ci/lint.sh Executable file → Normal file
View file

View file

@ -1 +0,0 @@
pyyaml==6.0.2

3
.gitignore vendored
View file

@ -1,3 +1,2 @@
.vscode
.env.priv
.venv
.env.priv

View file

@ -1,25 +1,14 @@
steps:
check_ports_labels:
image: python:3.12-slim
commands:
- pip3 install -r .ci/requirements.txt
- python3 .ci/port_attribution_watcher.py
- python3 .ci/traefik_labels_watcher.py
when:
- event: pull_request
repo: gnouseu/docker-services
- event: push
branch: main
lint:
image: debian:stable-slim
commands:
- apt-get update
- apt-get install -y curl
- curl -SL https://github.com/docker/compose/releases/download/v2.20.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- chmod +x //usr/local/bin/docker-compose
- sh .ci/lint.sh
when:
- event: pull_request
repo: gnouseu/docker-services
- event: push
branch: main
branch: main

View file

@ -1,14 +1,3 @@
# Services Gnous
L'ensemble des docker compose pour les services du projet Gnous.
## Lint
```
python3 -m venv .venv/
source .venv/bin/activate
pip install -r .ci/requirements.txt
python3 .ci/port_attribution_watcher.py
python3 .ci/traefik_label_watcher.py
./.ci/lint.sh
```
L'ensemble des docker compose pour les services du projet Gnous.

View file

@ -7,7 +7,7 @@ services:
image: git.gnous.eu/gnouseu/wiki:v3
restart: unless-stopped
ports:
- "3010:80"
- "3005:80"
labels:
- "traefik.enable=true"
- "traefik.http.routers.wiki.entryPoints=websecure"

View file

@ -53,7 +53,7 @@ services:
- "traefik.http.routers.woodpecker-grpc-secure.entrypoints=websecure"
- "traefik.http.routers.woodpecker-grpc-secure.service=woodpecker-grpc"
- "traefik.http.routers.woodpecker-grpc.middlewares=woodpecker-grpc-redirect@docker"
- "traefik.http.routers.woodpecker-grpc.middlewares=proxyHeader@file,proxyError@file"
- "traefik.http.routers.gnousdoteu.middlewares=proxyHeader@file,proxyError@file"
depends_on:
- db