Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- version: "2.1"
- services:
- mariadb:
- image: linuxserver/mariadb
- container_name: mariadb
- environment:
- - PUID=1001
- - PGID=1001
- - MYSQL_ROOT_PASSWORD=blah
- - TZ=Etc/UTC
- - MYSQL_DATABASE=my_test_db
- - MYSQL_USER=my_test_user
- - MYSQL_PASSWORD=my_test_password
- volumes:
- - mariadb:/config
- ports:
- - 3306:3306
- restart: unless-stopped
- volumes:
- mariadb:
- name: mariadb
- driver_opts:
- type: cifs
- o: "username=dmariadb,password=blah"
- device: "//ipaddress/dmariadb"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement