Skip to content

Instantly share code, notes, and snippets.

@dcunited08
Created March 24, 2021 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcunited08/e2c961510b485e70ef0707333233154c to your computer and use it in GitHub Desktop.
Save dcunited08/e2c961510b485e70ef0707333233154c to your computer and use it in GitHub Desktop.
version: '2'
services:
db:
image: percona:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: my_db
MYSQL_USER: user
MYSQL_PASSWORD: password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment