commit 404138abaf976fb5dcfcfc2dd773d8ae6be538d9 Author: samuel-p Date: Sat Dec 25 22:24:23 2021 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1062418 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +*.iml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..0701e4d --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,30 @@ +pipeline: + docker: + image: plugins/docker + secrets: + - DOCKER_USERNAME + - DOCKER_PASSWORD + repo: spcodes/pixelfed + tags: + - latest + when: + branch: + - main + event: + - push + cr: + image: plugins/docker + secrets: + - source: CR_USERNAME + target: DOCKER_USERNAME + - source: CR_PASSWORD + target: DOCKER_PASSWORD + registry: cr.sp-codes.de + repo: cr.sp-codes.de/pixelfed + tags: + - latest + when: + branch: + - main + event: + - push diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9862eb4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM zknt/pixelfed@sha256:91a991c830e652e43f756278af0b06f0e3e6eedf1a2c522ed7ceb9b1ac7552bc + +COPY wait-for-db.php /wait-for-db.php + +RUN apt-install php${PHPVER}-pgsql diff --git a/README.md b/README.md new file mode 100644 index 0000000..c93f3fa --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# [Pixelfed](https://git.sp-codes.de/sp-codes/pixelfed) + +[![Build Status](https://ci.sp-codes.de/api/badges/sp-codes/pixelfed/status.svg)](https://ci.sp-codes.de/sp-codes/pixelfed) [![Docker Pulls](https://img.shields.io/docker/pulls/spcodes/pixelfed)](https://hub.docker.com/r/spcodes/pixelfed) + +## Usage + +tbd diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..a5047de --- /dev/null +++ b/renovate.json @@ -0,0 +1,10 @@ +{ + "assignees": [ + "samuel-p" + ], + "baseBranches": [ + "main" + ], + "rangeStrategy": "bump", + "rebaseWhen": "behind-base-branch" +} diff --git a/wait-for-db.php b/wait-for-db.php new file mode 100644 index 0000000..c178f1e --- /dev/null +++ b/wait-for-db.php @@ -0,0 +1,36 @@ +