chore: initial wp setup
parent
51053abc25
commit
0e8e100764
|
@ -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"
|
Loading…
Reference in New Issue