fix timeout, cors and token issues

This commit is contained in:
Krrish Ghimire
2026-07-10 11:39:19 +05:45
parent 3e77b54d71
commit 24ca1521b4
8 changed files with 55 additions and 13 deletions

40
docker-compose.v3.yml Normal file
View File

@@ -0,0 +1,40 @@
version: '3'
services:
postgres:
image: postgres:16-alpine
network_mode: host
environment:
POSTGRES_DB: indie
POSTGRES_USER: indie
POSTGRES_PASSWORD: indie_dev
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U indie"]
interval: 5s
timeout: 5s
retries: 5
mongodb:
image: mongo:7
network_mode: host
environment:
MONGO_INITDB_DATABASE: indie
volumes:
- mongodata:/data/db
minio:
image: minio/minio:latest
network_mode: host
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: indieadmin
MINIO_ROOT_PASSWORD: indiesecret
volumes:
- miniodata:/data
volumes:
pgdata:
mongodata:
miniodata: