mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-03 22:20:59 +00:00
Merge branch 'main-backup' into main
This commit is contained in:
2 files changed
+49
-11
No files matched your search
@@ -2,10 +2,27 @@ name: Nginx 8.1
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
imagename:
|
||||||
|
description: 'Image Name'
|
||||||
|
required: true
|
||||||
|
default: 'error'
|
||||||
|
imageversion:
|
||||||
|
description: 'Version of the docker image'
|
||||||
|
required: true
|
||||||
|
default: '1.0'
|
||||||
|
imagedir:
|
||||||
|
description: 'Directory of the image'
|
||||||
|
required: true
|
||||||
|
default: 'default'
|
||||||
|
platform:
|
||||||
|
description: 'Egg platforms. amd64 for AMD64, arm64 for Arm64, and both for both of them'
|
||||||
|
required: true
|
||||||
|
default: 'both'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
name: "nginx-ptero:8.1"
|
name: "nginx-ptero:${{ github.event.inputs.imagename }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -14,18 +31,37 @@ jobs:
|
|||||||
- uses: docker/setup-qemu-action@v1
|
- uses: docker/setup-qemu-action@v1
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
with:
|
with:
|
||||||
version: "v0.5.1"
|
version: "${{ github.event.inputs.imageversion }}"
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- uses: docker/login-action@v1
|
- uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.PUSH_TOKEN }}
|
password: ${{ secrets.PUSH_TOKEN }}
|
||||||
- uses: docker/build-push-action@v2
|
- if: github.event.inputs.platform == 'both'
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./
|
context: ./${{ github.event.inputs.imagedir }}/
|
||||||
file: ./Dockerfile
|
file: ./${{ github.event.inputs.imagedir }}/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/sigma-production/nginx-ptero:8.1
|
ghcr.io/JohnB17/nginx-ptero:${{ github.event.inputs.imagename }}
|
||||||
|
- if: github.event.inputs.platform == 'amd64'
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./${{ github.event.inputs.imagedir }}/
|
||||||
|
file: ./${{ github.event.inputs.imagedir }}/Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/JohnB17/nginx-ptero:${{ github.event.inputs.imagename }}
|
||||||
|
- if: github.event.inputs.platform == 'arm64'
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./${{ github.event.inputs.imagedir }}/
|
||||||
|
file: ./${{ github.event.inputs.imagedir }}/Dockerfile
|
||||||
|
platforms: linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/JohnB17/nginx-ptero:${{ github.event.inputs.imagename }}
|
||||||
@@ -1,13 +1,15 @@
|
|||||||
# Pterodactyl webhost egg
|
# Pterodactyl webhost egg
|
||||||
|
|
||||||
|
This is a repo where you can request a version with what ever PHP package you want! Make an issue saying what packages you want, and I will respond to the issue with a Docker image of what you want!
|
||||||
|
#### Please make sure no one else has requested for the same packages as you!
|
||||||
|
|
||||||
How to use:
|
How to use:
|
||||||
1. Go to releases and download the json file
|
1. Go to releases in the original repo and download the json file
|
||||||
2. Import the egg to your panel like you normally do
|
2. Import the egg to your panel like you normally do
|
||||||
3. Create a new server, additionally you can enable wordpress, this will install wordpress for you
|
3. Add the Docker image url I sent you in the egg settings, where it says "Docker Images"
|
||||||
|
4. Create a new server, additionally you can enable wordpress, this will install wordpress for you
|
||||||
and you can also install composer packages, this can also be done after the install
|
and you can also install composer packages, this can also be done after the install
|
||||||
4. Navigate to the given port and ip and you are good to go just add you files to the webroot folder
|
5. Navigate to the given port and ip and you are good to go just add you files to the webroot folder
|
||||||
(when using wordpress go to http://ip:port/wp-admin)
|
(when using wordpress go to http://ip:port/wp-admin)
|
||||||
Note: if you want it using a domain then create a reverse proxy on the host
|
Note: if you want it using a domain then create a reverse proxy on the host
|
||||||
|
|
||||||
@@ -19,7 +21,7 @@ To remove logs from console, open nginx/conf.d/default.conf and uncomment (remov
|
|||||||
#error_log /home/container/nerror.log error
|
#error_log /home/container/nerror.log error
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Forked from https://github.com/finnie2006/ptero-eggs as a service to add more packages
|
||||||
Originally forked and edited from https://gitlab.com/tenten8401/pterodactyl-nginx
|
Originally forked and edited from https://gitlab.com/tenten8401/pterodactyl-nginx
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user