Last active
December 31, 2020 14:34
-
-
Save saitanay/2a5617cd7ff875780e1b503d9a0bae2f to your computer and use it in GitHub Desktop.
This file contains 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
# Use root/example as user/password credentials | |
# Replace /Users/tanaysai/dev/mautic-comm/mautic with the folder name where you have your mautic codebase. | |
# This could be relative to the location of this file. Below I have an absolute address that I used. | |
# Same with "../dockerdata/mysql". I have a mysql folder to save the db info one level outside the location of this file. | |
# You can update this to a different folder as you see it fit | |
version: '3.1' | |
services: | |
php: | |
build: . | |
ports: | |
- "80:80" | |
volumes: | |
- /Users/tanaysai/dev/mautic-comm/mautic:/var/www/html | |
links: | |
- db | |
db: | |
image: mysql:5.7 | |
command: --default-authentication-plugin=mysql_native_password | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
ports: | |
- "3306:3306" | |
volumes: | |
- ../dockerdata/mysql:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment