ihatemoney/docker-compose.test.yml
Youe Graillot acb2799575
Production ready docker (#919)
* /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
2021-11-25 08:23:23 +01:00

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