Created
April 4, 2021 11:33
-
-
Save 0x4139/befad9c744a92c7c09026ce0bd2ed74c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
caddy: | |
container_name: caddy | |
restart: always | |
image: lucaslorentz/caddy-docker-proxy:ci-alpine | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- caddy_data:/data | |
depends_on: | |
- keycloak | |
keycloak: | |
image: 0x4139/keycloack-test | |
container_name: keycloak | |
restart: always | |
environment: | |
KEYCLOAK_USER: "vlecplatform" | |
KEYCLOAK_PASSWORD: "vlec123654" | |
KEYCLOAK_FRONTEND_URL: "https://login.redplatform-staging.com/auth" | |
PROXY_ADDRESS_FORWARDING: "true" | |
DB_VENDOR: "h2" | |
labels: | |
caddy: login.redplatform-staging.com | |
caddy.reverse_proxy: "{{upstreams 8080}}" | |
caddy.tls: "internal" | |
volumes: | |
- keycloak:/opt/jboss/keycloak/standalone/data | |
mongo: | |
image: mongo:latest | |
container_name: mongo | |
restart: always | |
ports: | |
- 27017:27017 | |
volumes: | |
- mongo:/data/db | |
redis: | |
image: redis:4.0-alpine | |
container_name: redis | |
restart: always | |
ports: | |
- 6379:6379 | |
mysql: | |
image: mysql:5.7 | |
container_name: mysql | |
restart: always | |
ports: | |
- 3306:3306 | |
volumes: | |
- mysql:/var/lib/mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: CQehbRMxy9 | |
MYSQL_DATABASE: vlec_kernel | |
MYSQL_USER: vlec | |
MYSQL_PASSWORD: vlec_kernel | |
command: --explicit_defaults_for_timestamp --server-id=1 --log-bin=mysql-bin --binlog-format=ROW | |
zookeeper: | |
image: "docker.io/bitnami/zookeeper:3" | |
ports: | |
- "2181:2181" | |
volumes: | |
- "zookeeper:/bitnami" | |
environment: | |
- ALLOW_ANONYMOUS_LOGIN=yes | |
kafka: | |
image: "docker.io/bitnami/kafka:2-debian-10" | |
ports: | |
- "9092:9092" | |
volumes: | |
- "kafka:/bitnami" | |
environment: | |
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 | |
- ALLOW_PLAINTEXT_LISTENER=yes | |
depends_on: | |
- zookeeper | |
volumes: | |
caddy_data: | |
keycloak: | |
mongo: | |
mysql: | |
kafka: | |
zookeeper: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment