Compare commits
3 Commits
v3.3.14
...
bf8f09cf98
| Author | SHA1 | Date | |
|---|---|---|---|
|
bf8f09cf98
|
|||
| 0df2a638b4 | |||
|
5071b3131d
|
@@ -1,3 +1,10 @@
|
|||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: ${platform}
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch: main
|
branch: main
|
||||||
@@ -7,15 +14,12 @@ variables:
|
|||||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/phpbb
|
- &repo source.hodakov.me/${CI_REPO_OWNER}/phpbb
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
dryrun:
|
test-build:
|
||||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
image: docker:27-dind
|
||||||
privileged: true
|
commands:
|
||||||
settings:
|
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10} .
|
||||||
dockerfile: Dockerfile
|
volumes:
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
dry_run: true
|
|
||||||
repo: *repo
|
|
||||||
auto_tag: true
|
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
||||||
@@ -24,7 +28,7 @@ steps:
|
|||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: ${platform}
|
||||||
repo: *repo
|
repo: *repo
|
||||||
registry: source.hodakov.me
|
registry: source.hodakov.me
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ This is a heavily modified fork of [selim13's docker-phpbb image](https://github
|
|||||||
|
|
||||||
You can find an example of forum running using this image at [ks.fhs.sh](https://ks.fhs.sh).
|
You can find an example of forum running using this image at [ks.fhs.sh](https://ks.fhs.sh).
|
||||||
|
|
||||||
|
Note: this image expects that you run it behind another reverse proxy and does _not_ handle HTTPS automatically. Use it
|
||||||
|
behind another instance of caddy, for example.
|
||||||
|
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`3`,`3.3`, `3.3.14`, `latest`](https://source.hodakov.me/hdkv/docker-phpbb/src/branch/main/Dockerfile) bundled with PHP 8
|
- [`3`,`3.3`, `3.3.14`, `latest`](https://source.hodakov.me/hdkv/docker-phpbb/src/branch/main/Dockerfile) bundled with PHP 8
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
php_fastcgi unix//run/php-fpm.sock {
|
php_fastcgi unix//run/php-fpm.sock {
|
||||||
trusted_proxies private_ranges
|
trusted_proxies private_ranges
|
||||||
|
env REMOTE_ADDR {client_ip}
|
||||||
}
|
}
|
||||||
|
|
||||||
file_server
|
file_server
|
||||||
|
|||||||
Reference in New Issue
Block a user