2021-12-03 12:19:23 +00:00
|
|
|
---
|
2021-12-06 12:41:41 +00:00
|
|
|
version: '3.1'
|
2021-12-03 12:19:23 +00:00
|
|
|
|
|
|
|
services:
|
2021-12-06 12:41:41 +00:00
|
|
|
web:
|
2021-12-17 10:08:38 +00:00
|
|
|
image: "thecoopcloud/nginx:1.21.4-bedrock"
|
2021-12-06 12:41:41 +00:00
|
|
|
working_dir: /app
|
2021-12-03 12:19:23 +00:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
volumes:
|
2021-12-06 12:41:41 +00:00
|
|
|
- ./src:/app:cached
|
2022-01-26 16:43:12 +00:00
|
|
|
environment:
|
|
|
|
- PHP_SERVICE=php
|
2021-12-06 12:41:41 +00:00
|
|
|
|
|
|
|
php:
|
2021-12-08 08:45:46 +00:00
|
|
|
image: "thecoopcloud/wordpress:5.8.2-php7.4-fpm-bedrock"
|
2021-12-06 12:41:41 +00:00
|
|
|
working_dir: /app
|
2022-04-05 11:29:06 +00:00
|
|
|
environment:
|
|
|
|
# Pass SSH agent socket, to avoid having to reënter your passphrase
|
|
|
|
SSH_AUTH_SOCK: "${SSH_AUTH_SOCK}"
|
2022-04-05 12:21:13 +00:00
|
|
|
DEV_MODE: "${DEV_MODE}"
|
2021-12-06 12:41:41 +00:00
|
|
|
volumes:
|
|
|
|
- ./src:/app:cached
|
2022-04-05 11:27:49 +00:00
|
|
|
# Use your own SSH Host Key file
|
|
|
|
- "${HOME}/.ssh/known_hosts:/root/.ssh/known_hosts:ro"
|
|
|
|
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
|
2021-12-03 12:19:23 +00:00
|
|
|
db:
|
2021-12-06 12:41:41 +00:00
|
|
|
image: mariadb:10.4
|
2021-12-03 12:19:23 +00:00
|
|
|
volumes:
|
|
|
|
- "mariadb:/var/lib/mysql"
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=wordpress
|
|
|
|
- MYSQL_DATABASE=wordpress
|
|
|
|
- MYSQL_USER=wordpress
|
|
|
|
- MYSQL_PASSWORD=wordpress
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
mariadb:
|