chore: initial wp setup

pull/38/head
Davide Polonio 2025-02-16 17:48:53 +01:00
parent 51053abc25
commit 0e8e100764
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
services:
app:
image: wordpress:6.7-php8.1-apache
restart: unless-stopped
networks:
- proxy
- internal
env_file:
- .db.env
- .proxy.env
- .wordpress.env
depends_on:
- db
db:
image: mariadb:11.6.2-ubi9
command: '--default-authentication-plugin=mysql_native_password'
restart: unless-stopped
networks:
- internal
env_file:
- .db.env
networks:
proxy:
external: true
internal:
volumes:
db:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/kodokanjudoeste/db"
data:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/kodokanjudoeste/data"