mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00

* /healthcheck endpoint usefull for monitoring, ci test also uses this * customizable PORT with environment variable * customizable PUID/PGID, reduce attack surface and allow better integration in rootless environments * size optimization * update to python 3.10 * add postgresql compatibility * PUID/PGID default as root to not break current user environments
11 lines
257 B
YAML
11 lines
257 B
YAML
# This is used by Github actions to ensure docker images build properly.
|
|
version: "3.9"
|
|
|
|
services:
|
|
ihatemoney:
|
|
build: .
|
|
sut:
|
|
image: alpine
|
|
command: sh -c 'wget -qO- ihatemoney:8000/healthcheck | grep "OK"'
|
|
depends_on:
|
|
- ihatemoney
|