Created
April 23, 2018 03:05
-
-
Save danieltdt/6ec6b86a87e6b34aed146642a9d532ec to your computer and use it in GitHub Desktop.
my local services
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
# mysql/mariadb | |
docker run --restart unless-stopped --name mysql -d -v /home/daniel/.local/mysql-data:/var/lib/mysql -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes bianjp/mariadb-alpine | |
# postgres | |
docker run --restart unless-stopped --name postgres -d -v /home/daniel/.local/postgres-data:/var/lib/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:alpine | |
# redis | |
docker run --restart unless-stopped --name redis -d -v /home/daniel/.local/redis-data:/data -p 6379:6379 redis:alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment