refactor(docker): update docker yaml for fork
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
services:
|
||||
pingvin-share:
|
||||
pingvin-share-x:
|
||||
container_name: pingvin-share-x
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@@ -7,6 +8,7 @@ services:
|
||||
environment:
|
||||
- TRUST_PROXY=false
|
||||
volumes:
|
||||
- "./data:/opt/app/backend/data"
|
||||
- "./data/images:/opt/app/frontend/public/img"
|
||||
# - "./config.yaml:/opt/app/config.yaml"
|
||||
- "./data:/opt/app/backend/data:rw,z"
|
||||
- "./data/images:/opt/app/frontend/public/img:rw,z"
|
||||
# - "./config.yaml:/opt/app/config.yaml"
|
||||
|
||||
|
||||
+6
-5
@@ -1,15 +1,16 @@
|
||||
services:
|
||||
pingvin-share:
|
||||
image: stonith404/pingvin-share # or ghcr.io/stonith404/pingvin-share
|
||||
pingvin-share-x:
|
||||
container_name: pingvin-share-x
|
||||
image: smp46/pingvin-share-x # or ghcr.io/smp46/pingvin-share-x
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
- TRUST_PROXY=false # Set to true if a reverse proxy is in front of the container
|
||||
volumes:
|
||||
- "./data:/opt/app/backend/data"
|
||||
- "./data/images:/opt/app/frontend/public/img"
|
||||
- "./data:/opt/app/backend/data:rw,z"
|
||||
- "./data/images:/opt/app/frontend/public/img:rw,z"
|
||||
# - "./config.yaml:/opt/app/config.yaml" # Add this line, if you want to configure pingvin-share via config file and not via UI
|
||||
|
||||
# To add ClamAV, to scan your shares for malicious files,
|
||||
# To add ClamAV, to scan your shares for malicious files,
|
||||
# see https://stonith404.github.io/pingvin-share/setup/integrations/#clamav-docker-only
|
||||
|
||||
Reference in New Issue
Block a user