Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-05 02:28:00 +01:00
33 Zeilen
880 B
YAML
33 Zeilen
880 B
YAML
services:
|
|
keycloak:
|
|
container_name: keycloak-${ENV:-dev}
|
|
image: quay.io/keycloak/keycloak
|
|
network_mode: "host"
|
|
command:
|
|
- start-dev
|
|
env_file: ${ENV}.env
|
|
volumes:
|
|
- ./keycloak_setup.sh:/opt/script/keycloak_setup.sh
|
|
keycloakSetup:
|
|
container_name: keycloakSetup-${ENV:-dev}
|
|
image: quay.io/keycloak/keycloak
|
|
network_mode: "host"
|
|
depends_on:
|
|
- keycloak
|
|
restart: "no"
|
|
env_file: ${ENV}.env
|
|
entrypoint: [ "bash", "-c", "/opt/script/keycloak_setup.sh"]
|
|
volumes:
|
|
- ${KC_SETUP_PATH:-.}/keycloak_setup.sh:/opt/script/keycloak_setup.sh
|
|
VaultWarden:
|
|
image: vaultwarden
|
|
profiles: ["VaultWarden"]
|
|
network_mode: "host"
|
|
build:
|
|
context: ../../..
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- keycloak
|
|
env_file: ${ENV}.env
|
|
volumes:
|
|
- ./vaultwarden.sh:/etc/vaultwarden.sh
|