Last active
February 8, 2018 17:18
-
-
Save dsmrt/911d5a73cb31098e6ef867b740b7c8ca to your computer and use it in GitHub Desktop.
Flipbox Docker LAMP for CraftCMS Dev
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" | |
services: | |
web: | |
image: flipbox/php:71-amazonlinux-apache | |
ports: | |
- 80:80 | |
#I have a self signed cert for local dev work | |
- 443:443 | |
volumes: | |
- .:/var/www/html | |
#EDIT THIS! point to your httpd.conf config | |
- ./httpd.conf:/etc/httpd/conf.d/sites.conf | |
environment: | |
ENVIRONMENT: LOCAL | |
mysql: | |
image: mysql:5.6 | |
restart: always | |
ports: | |
- 3306:3306 | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: craft | |
MYSQL_USER: craft | |
MYSQL_PASSWORD: craft | |
volumes: | |
- .:/approot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Self signed cert location (key and cert):
/var/www/ssl/self-signed.crt
/var/www/ssl/self-signed.key