Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save taufiqibrahim/44b1a2fc136fa98695c889190d450171 to your computer and use it in GitHub Desktop.
Save taufiqibrahim/44b1a2fc136fa98695c889190d450171 to your computer and use it in GitHub Desktop.
version: '3.9'
services:
mysql:
image: quay.io/debezium/example-mysql
container_name: mysql
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=debezium
- MYSQL_USER=mysqluser
- MYSQL_PASSWORD=mysqlpw
debezium-server:
image: quay.io/debezium/server
container_name: debezium-server
environment:
GOOGLE_APPLICATION_CREDENTIALS: /tmp/credentials/service-account.json
ports:
- "8080:8080"
volumes:
- ./demo-sa.json:/tmp/credentials/service-account.json
- ./conf:/debezium/conf
depends_on:
- mysql
restart: "always"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment