update stuff
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docker-unstable Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2024-10-29 14:13:01 +01:00
parent 64593a6987
commit 07923d8d6d
Signed by: adoralaura
SSH key fingerprint: SHA256:3XrkbR8ikAZJVtYfaUliX1MhmJYVAe/ocIb/MiDHBJ8
2 changed files with 27 additions and 0 deletions

View file

@ -28,3 +28,4 @@ LABEL maintainer="Adora Laura Kalb <adora@lila.network>"
EXPOSE 8080
ENTRYPOINT ["/bin/humble-bot"]
CMD ["daemon", "--config", "/etc/humble-bot/config.yaml"]

View file

@ -0,0 +1,26 @@
services:
db:
image: postgres:16
restart: always
environment:
POSTGRES_PASSWORD: df86e9fb27aa132626c4fd5e5cb1dc6a
POSTGRES_USER: humble-bot
POSTGRES_DB: humble-bot
healthcheck:
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- ./postgres-data:/var/lib/postgresql/data
go-urlsh:
image: adoralaura/humble-bot
restart: always
ports:
- 127.0.0.1:3000:3000
depends_on:
db:
condition: service_healthy
volumes:
- ./config:/etc/humble-bot:ro