Minio Storage
With Minio (Open Source Object Storage)
To use Minio object storage, you will need to add the corresponding environment variable configuration
The config file docker-compose.yml
:
name: portabase
services:
portabase:
image: solucetechnologies/portabase:latest
ports:
- '8887:80'
environment:
- TIME_ZONE="Europe/Paris"
depends_on:
db:
condition: service_healthy
container_name: portabase-app
labels:
- "traefik.enable=true"
- "traefik.http.routers.portabase.entrypoints=web,websecure"
- "traefik.http.routers.portabase.rule=Host(`portabase.exemple.com`)"
db:
image: postgres:16-alpine
ports:
- "5433:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=<your_database>
- POSTGRES_USER=<database_user>
- POSTGRES_PASSWORD=<database_password>
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U devuser -d devdb" ]
interval: 10s
timeout: 5s
retries: 5
s3:
image: docker.io/bitnami/minio:latest
ports:
- '9000:9000'
- '9001:9001'
volumes:
- minio_data:/data
environment:
- MINIO_ROOT_USER=<root_user>
- MINIO_ROOT_PASSWORD=<root_password>
- MINIO_DEFAULT_BUCKETS=<default_bucket>
volumes:
postgres-data:
minio_data: