Fix docker-compose (minio) and add basic logger

This commit is contained in:
Mawoka
2025-10-25 11:03:52 +02:00
parent 7425bfebdd
commit 1b644be0e3
8 changed files with 72 additions and 22 deletions
+12 -9
View File
@@ -4,10 +4,10 @@
services:
db:
# build:
# context: pg_uuidv7
# args:
# PG_MAJOR_VERSION: 16
# build:
# context: pg_uuidv7
# args:
# PG_MAJOR_VERSION: 16
image: postgres:16
environment:
POSTGRES_PASSWORD: mysecretpassword
@@ -34,21 +34,24 @@ services:
privileged: true
restart: unless-stopped
minio:
image: bitnami/minio
image: docker.io/minio/minio
environment:
MINIO_ROOT_USER: fediprint
MINIO_ROOT_PASSWORD: fediprint
MINIO_ROOT_USER: classquiz
MINIO_ROOT_PASSWORD: classquiz
MINIO_ADDRESS: ":9000"
MINIO_CONSOLE_ADDRESS: ":9001"
volumes:
- minio:/bitnami/minio/data
- minio:/data
ports:
- 9000:9000
- 9001:9001
restart: unless-stopped
command: minio server /data
redis:
image: redis:alpine
restart: always
healthcheck:
test: [ "CMD", "redis-cli","ping" ]
test: ["CMD", "redis-cli", "ping"]
ports:
- 6379:6379
volumes: