Skip to content

Instantly share code, notes, and snippets.

@leath-dub
Created February 3, 2023 21:22
Show Gist options
  • Save leath-dub/aaad5a729a2a3cf4713796f95eeca1f7 to your computer and use it in GitHub Desktop.
Save leath-dub/aaad5a729a2a3cf4713796f95eeca1f7 to your computer and use it in GitHub Desktop.
My workflow docker compose yaml for database testing
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