Created
April 27, 2020 19:04
-
-
Save vusimoy0/11c448f08fa9d3e121b3d281d935e73c to your computer and use it in GitHub Desktop.
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
version: '3.6' | |
services: | |
fix-mariadb-volume-ownership: | |
image: 'bitnami/mariadb:latest' | |
user: root | |
command: chown -R 1001:1001 /bitnami | |
volumes: | |
- './mariadb_data:/bitnami' | |
mariadb: | |
image: 'bitnami/mariadb:latest' | |
volumes: | |
- './mariadb_data:/bitnami' | |
environment: | |
- MARIADB_PORT_NUMBER=[PORT NUMBER] | |
- MARIADB_ROOT_PASSWORD=[ROOT PASSWORD] | |
- MARIADB_USER=[DB USER] | |
- MARIADB_PASSWORD=[DB PASSWPRD] | |
- MARIADB_DATABASE=[bitnami_wp] | |
depends_on: | |
- fix-mariadb-volume-ownership | |
networks: | |
default: | |
external: | |
name: wordpress-net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment