Initial commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
version: "3"
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:14.1
|
||||
environment:
|
||||
POSTGRES_USER: admin
|
||||
POSTGRES_PASSWORD: development
|
||||
POSTGRES_DB: default
|
||||
volumes:
|
||||
- "./data:/var/lib/postgres/data"
|
||||
|
||||
minio:
|
||||
image: bitnami/minio:latest
|
||||
ports:
|
||||
- "9001:9000"
|
||||
- "9002:9001"
|
||||
environment:
|
||||
MINIO_ROOT_USER: admin
|
||||
MINIO_ROOT_PASSWORD: admin
|
||||
volumes:
|
||||
- "./storage:/data"
|
||||
|
||||
django:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- .:/code
|
||||
environment:
|
||||
DATABASE_URL: "postgres://admin:development@postgres:5432/default"
|
||||
links:
|
||||
- postgres
|
||||
- minio
|
||||
depends_on:
|
||||
- postgres
|
||||
- minio
|
||||
Reference in New Issue
Block a user