Created
April 16, 2018 20:23
-
-
Save lots0logs/e4cbe8dfe65bacb6a07792a4db10660f to your computer and use it in GitHub Desktop.
Divi Development Environment
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.3' | |
| services: | |
| mariadb: | |
| image: 'mariadb:10.2.14' | |
| environment: | |
| MYSQL_ROOT_PASSWORD: password | |
| MYSQL_DATABASE: wordpress | |
| DATADIR: /data | |
| restart: on-failure | |
| volumes: | |
| - 'database:/data' | |
| network_mode: 'service:wordpress' | |
| wordpress: | |
| image: 'elegantthemes/divi-dev' | |
| hostname: divi-dev | |
| volumes: | |
| - '${PWD}:/workspace/wordpress' | |
| ports: | |
| - '80:80' # nginx | |
| - '3306:3306' # mariadb | |
| - '3000:3000' # webpack hmr | |
| volumes: | |
| database: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is giving an error: yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
in "./docker-compose.yml", line 6, column 1