Compare commits

...

8 Commits

3 changed files with 2 additions and 6 deletions

View File

@ -13,7 +13,7 @@ pipeline:
tags:
- ${PHP_VERSION}
build_args:
- PHP_IMAGE=php:${PHP_VERSION}-fpm-alpine
- PHP_IMAGE=wordpress:php${PHP_VERSION}-fpm-alpine
username: deploy
password:
from_secret: deploy_password

View File

@ -10,8 +10,4 @@
php_fastcgi 127.0.0.1:9000
encode gzip
file_server
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php?_url={uri}
}
}

View File

@ -1,4 +1,4 @@
ARG PHP_IMAGE=php:7.4-fpm-alpine
ARG PHP_IMAGE=wordpress:php8.2-fpm-alpine
FROM caddy:builder-alpine as caddy
ARG PHP_IMAGE
RUN xcaddy build --with github.com/baldinof/caddy-supervisor@v0.6.0