This repository has been archived on 2024-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
wordpress-bedrock-template/docker-compose.yml
2021-12-06 14:41:41 +02:00

33 lines
601 B
YAML

---
version: '3.1'
services:
web:
image: nginx:alpine
working_dir: /app
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:cached
- ./src:/app:cached
php:
image: "thecoopcloud/wordpress:5.8.2-php8.0-fpm-bedrock"
build: .
working_dir: /app
volumes:
- ./src:/app:cached
db:
image: mariadb:10.4
volumes:
- "mariadb:/var/lib/mysql"
environment:
- MYSQL_ROOT_PASSWORD=wordpress
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=wordpress
volumes:
mariadb: