Init: bootstrap go module with basic framework
This commit is contained in:
45
docker-compose.yaml
Normal file
45
docker-compose.yaml
Normal 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: {}
|
||||
Reference in New Issue
Block a user