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

45 lines
966 B
YAML
Raw Normal View History

2023-07-02 18:47:51 +03:00
version: "3.8"
name: "keroosha-pechka-template"
2023-07-02 19:21:42 +03:00
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:
2023-07-02 18:47:51 +03:00
db:
image: postgres:15-alpine
environment:
POSTGRES_PASSWORD: 'postgres'
POSTGRES_INITDB: 'pechka'
ports:
- "5432:5432"
2023-07-02 19:21:42 +03:00
networks:
resources:
2023-07-02 18:47:51 +03:00
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
2023-07-02 19:21:42 +03:00
- "19001:19001" # Minio console
networks:
resources:
networks:
resources: