Update package name

This commit is contained in:
Vladimir Hodakov 2025-01-08 06:42:39 +04:00
parent c3d519bd39
commit 550d1aad08
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
4 changed files with 29 additions and 16 deletions

View File

@ -4,7 +4,7 @@ when:
event: [push, pull_request, tag] event: [push, pull_request, tag]
variables: variables:
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb - &repo source.hodakov.me/${CI_REPO_OWNER}/phpbb
steps: steps:
dryrun: dryrun:

View File

@ -71,7 +71,7 @@ COPY phpbb/config.php /phpbb/www
# Expose the ports Caddy is reachable on # Expose the ports Caddy is reachable on
EXPOSE 8080 EXPOSE 8080
EXPOSE 8181 EXPOSE 9080
WORKDIR /phpbb/www WORKDIR /phpbb/www
@ -88,8 +88,14 @@ ENV PHPBB_INSTALL= \
PHPBB_DEBUG= \ PHPBB_DEBUG= \
PHPBB_DEBUG_CONTAINER= PHPBB_DEBUG_CONTAINER=
# Add sane default volumes for phpBB
VOLUME /phpbb/sqlite
VOLUME /phpbb/www/files
VOLUME /phpbb/www/store
VOLUME /phpbb/www/images/avatars/upload
COPY start.sh /usr/local/bin/ COPY start.sh /usr/local/bin/
CMD ["start.sh"] CMD ["start.sh"]
# Configure a healthcheck to validate that everything is up and running # Configure a healthcheck to validate that everything is up and running
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8080/fpm-ping HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:9080/fpm-ping

View File

@ -22,10 +22,10 @@ installer script, just run a temporary container with `PHPBB_INSTALL=true`
environment variable: environment variable:
```console ```console
$ docker run -p 8181:8181 --name phpbb-install -e PHPBB_INSTALL=true -d source.hodakov.me/hdkv/phpbb $ docker run -p 8080:8080 --name phpbb-install -e PHPBB_INSTALL=true -d source.hodakov.me/hdkv/phpbb
``` ```
Point your browser to the http://localhost:8181 to begin the Point your browser to the http://localhost:8080 to begin the
installation process. installation process.
This image is bundled with SQLite3, MySQL and PostgresSQL database engines This image is bundled with SQLite3, MySQL and PostgresSQL database engines

View File

@ -1,16 +1,11 @@
:8080 { {
root * /var/www/html/public servers {
trusted_proxies static private_ranges
php_fastcgi unix//run/php-fpm.sock { trusted_proxies_strict
trusted_proxies private_ranges }
}
file_server
log stdout
} }
:8181 { :8080 {
root * /phpbb/www root * /phpbb/www
php_fastcgi unix//run/php-fpm.sock { php_fastcgi unix//run/php-fpm.sock {
@ -21,3 +16,15 @@
log stdout log stdout
} }
:9080 {
root * /var/www/html/public
php_fastcgi unix//run/php-fpm.sock {
trusted_proxies private_ranges
}
file_server
log stdout
}