Skip to content

Instantly share code, notes, and snippets.

@dsmrt
Last active February 8, 2018 17:18
Show Gist options
  • Save dsmrt/911d5a73cb31098e6ef867b740b7c8ca to your computer and use it in GitHub Desktop.
Save dsmrt/911d5a73cb31098e6ef867b740b7c8ca to your computer and use it in GitHub Desktop.
Flipbox Docker LAMP for CraftCMS Dev
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
@dsmrt
Copy link
Author

dsmrt commented Feb 5, 2018

Self signed cert location (key and cert):
/var/www/ssl/self-signed.crt
/var/www/ssl/self-signed.key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment