Created
February 3, 2023 21:22
-
-
Save leath-dub/aaad5a729a2a3cf4713796f95eeca1f7 to your computer and use it in GitHub Desktop.
My workflow docker compose yaml for database testing
This file contains hidden or 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.8' | |
services: | |
db: | |
image: docker.io/mysql:latest | |
cap_add: | |
- SYS_NICE | |
restart: always | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
ports: | |
- '3306:3306' | |
volumes: | |
- db:/var/lib/mysql | |
omnidb: | |
image: docker.io/taivokasper/omnidb:latest | |
restart: always | |
links: | |
- db:db | |
ports: | |
- "8080:8080" | |
volumes: | |
db: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment