Init: bootstrap go module with basic framework

This commit is contained in:
2025-09-25 08:14:34 +08:00
commit 60f534be1e
47 changed files with 1084 additions and 0 deletions

45
docker-compose.yaml Normal file
View File

@@ -0,0 +1,45 @@
---
services:
postgres:
image: postgres:17.2
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: poop
ports:
- 5432:5432
volumes:
- ./docker/postgres/:/docker-entrypoint-initdb.d/
- postgres:/var/lib/postgresql/data
restart: unless-stopped
minio:
image: minio/minio:RELEASE.2025-07-23T15-54-02Z
environment:
MINIO_ROOT_USER: poop
MINIO_ROOT_PASSWORD: poop1145141919810
command: ["server", "/data", "--console-address", ":9001"]
ports:
- 9000:9000
- 9001:9001
volumes:
- minio:/data
restart: unless-stopped
backend:
build:
context: .
env_file:
- path: .env
command:
- backend
ports:
- 8080:8080
depends_on:
- postgres
- minio
restart: unless-stopped
volumes:
redis: {}
postgres: {}
minio: {}