27 lines
450 B
YAML
27 lines
450 B
YAML
services:
|
|
keycloak:
|
|
build: .
|
|
container_name: keycloak
|
|
restart: unless-stopped
|
|
command: start --optimized
|
|
env_file: .env
|
|
# mem_limit: 768M
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
expose:
|
|
- "8080"
|
|
ports:
|
|
- "127.0.0.1:9000:9000" # Health/Metrics
|
|
networks:
|
|
- db
|
|
- proxify
|
|
|
|
networks:
|
|
db:
|
|
name: db
|
|
external: true
|
|
proxify:
|
|
name: proxify
|
|
external: true
|
|
|