Skip to content

Instantly share code, notes, and snippets.

@paul121
Last active September 8, 2019 19:31
Show Gist options
  • Save paul121/c934168731368aa18b94a61b1c3cd4e8 to your computer and use it in GitHub Desktop.
Save paul121/c934168731368aa18b94a61b1c3cd4e8 to your computer and use it in GitHub Desktop.
docker-compose.yml for bare D7 install
version: '3.1'
services:
drupal:
image: drupal:7.67-apache
ports:
- 80:80
- 443:443
volumes:
- ./www:/var/www/html
db:
image: mariadb:latest
volumes:
- ./db:/var/lib/mysql
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: farm
MYSQL_DATABASE: farm
MYSQL_USER: farm
MYSQL_PASSWORD: farm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment