Compare commits
6 Commits
b4b1c47eae
...
v3.3.15
| Author | SHA1 | Date | |
|---|---|---|---|
|
e62b953a1b
|
|||
|
eafeffe952
|
|||
|
d63cd998c6
|
|||
|
35a02be21c
|
|||
|
ae2439998d
|
|||
|
ce96e5592a
|
@@ -14,7 +14,7 @@ steps:
|
||||
test-build:
|
||||
image: docker:27-dind
|
||||
commands:
|
||||
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
|
||||
- docker buildx build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
@@ -27,7 +27,7 @@ steps:
|
||||
from_secret: registry_token
|
||||
commands:
|
||||
- docker login -u ${CI_REPO_OWNER} -p $${CI_USER_PASSWORD} source.hodakov.me
|
||||
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
|
||||
- docker buildx build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
|
||||
- docker push source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
@@ -6,7 +6,7 @@ depends_on:
|
||||
- build
|
||||
|
||||
steps:
|
||||
tag:
|
||||
tag latest:
|
||||
image: docker:27-dind
|
||||
environment:
|
||||
CI_USER_PASSWORD:
|
||||
@@ -19,3 +19,28 @@ steps:
|
||||
- docker manifest push source.hodakov.me/hdkv/phpbb:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
event: push
|
||||
|
||||
tag semver:
|
||||
image: docker:27-dind
|
||||
environment:
|
||||
CI_USER_PASSWORD:
|
||||
from_secret: registry_token
|
||||
commands:
|
||||
- set -eu
|
||||
- docker login -u ${CI_REPO_OWNER} -p $${CI_USER_PASSWORD} source.hodakov.me
|
||||
- source ./scripts/semver.sh
|
||||
- echo "Creating manifest for $${DOCKER_EXACT_TAG}, $${DOCKER_MAJOR_TAG} and $${DOCKER_MINOR_TAG}"
|
||||
- docker pull source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64
|
||||
- docker pull source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
|
||||
- docker manifest create source.hodakov.me/hdkv/phpbb:$${DOCKER_EXACT_TAG} source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
|
||||
- docker manifest create source.hodakov.me/hdkv/phpbb:$${DOCKER_MINOR_TAG} source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
|
||||
- docker manifest create source.hodakov.me/hdkv/phpbb:$${DOCKER_MAJOR_TAG} source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
|
||||
- docker manifest push source.hodakov.me/hdkv/phpbb:$${DOCKER_EXACT_TAG}
|
||||
- docker manifest push source.hodakov.me/hdkv/phpbb:$${DOCKER_MINOR_TAG}
|
||||
- docker manifest push source.hodakov.me/hdkv/phpbb:$${DOCKER_MAJOR_TAG}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
event: tag
|
||||
|
||||
@@ -55,8 +55,8 @@ RUN mkdir /.config /phpbb
|
||||
COPY src/ /var/www/html/
|
||||
|
||||
# Add phpBB installation
|
||||
ENV PHPBB_VERSION=3.3.14
|
||||
ENV PHPBB_SHA256=68cd6cf3faefa175ea3892ba02c6b112e8967ed33703521c79820e35bd15ec9a
|
||||
ENV PHPBB_VERSION=3.3.15
|
||||
ENV PHPBB_SHA256=b4a1d0b579651dcdd55f02c0b742d23fb5d45f915de60628d5aadd34d32cf761
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
|
||||
13
README.md
13
README.md
@@ -175,8 +175,11 @@ If set to `true`, enables phpBB debug mode.
|
||||
|
||||
## Volumes
|
||||
|
||||
No default volumes are predefined. You can mount everything you want
|
||||
inside `/phpbb/<something>`. For example, given that [ks.fhs.sh](https://ks.fhs.sh)
|
||||
was migrating into Docker from bare metal instance back in 2023, I
|
||||
mounted the directories `files`, `store`, `ext`, `images` and
|
||||
`themes`, which proved working for more than a year at this point.
|
||||
There are predefined volumes in the image:
|
||||
|
||||
- /phpbb/sqlite
|
||||
- /phpbb/www/files
|
||||
- /phpbb/www/store
|
||||
- /phpbb/www/images/avatars/upload
|
||||
|
||||
This list of volumes should be good enough for a forum that starts from scratch.
|
||||
|
||||
@@ -30,7 +30,7 @@ pm = ondemand
|
||||
; forget to tweak pm.* to fit your needs.
|
||||
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
||||
; Note: This value is mandatory.
|
||||
pm.max_children = 100
|
||||
pm.max_children = 1024
|
||||
|
||||
; The number of seconds after which an idle process will be killed.
|
||||
; Note: Used only when pm is set to 'ondemand'
|
||||
|
||||
Reference in New Issue
Block a user