diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3af0ccb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/data diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..99b9332 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,26 @@ +version: '3' + +services: + db: + image: mariadb + restart: always + environment: + - MYSQL_ROOT_PASSWORD=the_db_root_password + - MYSQL_USER=c5dbadmin + - MYSQL_PASSWORD=the_db_user_password + - MYSQL_DATABASE=c5db + volumes: + - ./data/var/lib/mysql:/var/lib/mysql + + web: + image: chriswayg/concrete5.7 + restart: always + ports: + - "80:80" + - "443:443" + links: + - db + # host volumes + volumes: + - ./data/etc/apache2:/etc/apache2 + - ./data/var/www/html:/var/www/html