diff --git a/kodokanjudoeste/docker-compose.yaml b/kodokanjudoeste/docker-compose.yaml new file mode 100644 index 0000000..51069bb --- /dev/null +++ b/kodokanjudoeste/docker-compose.yaml @@ -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"