Template repository for an All-Singing, All-Dancing, Not-Shit Autonomic Wordpress Site (ASADNSA). To use this, create a new repository in Gitea and choose this one as a template.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wordpress-bedrock-template/docker-compose.yml

38 lines
892 B

---
version: '3.1'
services:
web:
image: "thecoopcloud/nginx:1.21.4-bedrock"
working_dir: /app
ports:
- "80:80"
volumes:
- ./src:/app:cached
environment:
- PHP_SERVICE=php
php:
image: "thecoopcloud/wordpress:5.8.2-php7.4-fpm-bedrock"
working_dir: /app
environment:
# Pass SSH agent socket, to avoid having to reënter your passphrase
SSH_AUTH_SOCK: "${SSH_AUTH_SOCK}"
DEV_MODE: "${DEV_MODE}"
volumes:
- ./src:/app:cached
# Use your own SSH Host Key file
- "${HOME}/.ssh/known_hosts:/root/.ssh/known_hosts:ro"
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
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: