pechka-fullstack-setup/.dev/docker-compose.yml

45 lines
966 B
YAML

version: "3.8"
name: "keroosha-pechka-template"
services:
keycloak:
image: quay.io/keycloak/keycloak:21.1.2
ports:
- "8080:8080"
command:
# - "start-dev --import-realm"
- "start-dev"
# volumes:
# - ./realm-export.json:/opt/keycloak/data/import/main-realm.json:ro
environment:
- "KEYCLOAK_ADMIN=admin"
- "KEYCLOAK_ADMIN_PASSWORD=admin"
networks:
resources:
db:
image: postgres:15-alpine
environment:
POSTGRES_PASSWORD: 'postgres'
POSTGRES_INITDB: 'pechka'
ports:
- "5432:5432"
networks:
resources:
minio:
image: quay.io/minio/minio
command: server /data --console-address ":19001"
environment:
# _MINIO_SERVER_DEBUG: 'on'
MINIO_ROOT_USER: 'pechka'
MINIO_ROOT_PASSWORD: 'pechka'
ports:
- "19000:9000" # S3 interface
- "19001:19001" # Minio console
networks:
resources:
networks:
resources: