mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-08-25 22:01:14 +00:00
14 docker compose initial commit
This commit is contained in:
27
mariadb-docker/docker-compose.yml
Normal file
27
mariadb-docker/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# https://www.adminer.org/
|
||||
|
||||
# Use root/example as user/password credentials
|
||||
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
container_name: db
|
||||
restart: always
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: example
|
||||
MARIADB_USER: example-user
|
||||
MARIADB_PASSWORD: my_cool_secret
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
container_name: adminer
|
||||
restart: always
|
||||
ports:
|
||||
- 8081:8080
|
Reference in New Issue
Block a user