WIP
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
This commit is contained in:
parent
0c6ebaaf79
commit
5208a63fb4
7 changed files with 9 additions and 13 deletions
2
.env
2
.env
|
@ -1,4 +1,4 @@
|
|||
PLAKKEN_LISTEN=:5000
|
||||
PLAKKEN_LISTEN=:3000
|
||||
PLAKKEN_REDIS_ADDRESS=localhost:6379
|
||||
PLAKKEN_REDIS_USER=
|
||||
PLAKKEN_REDIS_PASSWORD=
|
||||
|
|
|
@ -52,9 +52,9 @@ nfpms:
|
|||
- src: plakken.service
|
||||
dst: /usr/lib/systemd/system/plakken.service
|
||||
scripts:
|
||||
preinstall: "deployement/goreleaser/preinstall.sh"
|
||||
preremove: "deployement/goreleaser/preremove.sh"
|
||||
postremove: "deployement/goreleaser/postremove.sh"
|
||||
preinstall: "deployment/goreleaser/preinstall.sh"
|
||||
preremove: "deployment/goreleaser/preremove.sh"
|
||||
postremove: "deployment/goreleaser/postremove.sh"
|
||||
|
||||
checksum:
|
||||
algorithm: sha256
|
||||
|
|
|
@ -6,7 +6,7 @@ steps:
|
|||
dockerfile: deployment/docker/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
registry: https://git.gnous.eu
|
||||
tag: ${CI_COMMIT}
|
||||
tag: ${CI_COMMIT_SHA}
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
|
|
@ -11,7 +11,7 @@ steps:
|
|||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.gnous.eu/${CI_REPO_OWNER}/plakken
|
||||
dockerfile: docker/Dockerfile
|
||||
dockerfile: deployment/docker/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
registry: https://git.gnous.eu
|
||||
tags:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3"
|
||||
|
||||
networks:
|
||||
plakken:
|
||||
external: false
|
||||
|
@ -7,8 +5,8 @@ networks:
|
|||
services:
|
||||
server:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: docker/Dockerfile
|
||||
context: ../../
|
||||
dockerfile: deployment/docker/Dockerfile
|
||||
restart: always
|
||||
container_name: plakken
|
||||
networks:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3"
|
||||
|
||||
networks:
|
||||
plakken:
|
||||
external: false
|
||||
|
|
|
@ -3,7 +3,7 @@ if ! getent group plakken > /dev/null; then
|
|||
fi
|
||||
|
||||
if ! getent passwd plakken > /dev/null; then
|
||||
useradd -r -d /var/lib/plakken -s /sbin/nologin -G plakken -c "Plakken server" 111111111111111111 plakken
|
||||
useradd -r -d /var/lib/plakken -s /sbin/nologin -g plakken -c "Plakken server" plakken
|
||||
fi
|
||||
if ! test -d /var/lib/plakken; then
|
||||
mkdir -p /var/lib/plakken
|
||||
|
|
Loading…
Reference in a new issue