This commit is contained in:
qiaofeng1227 2023-05-26 14:35:20 +08:00
parent 98705b90a2
commit c10d6166a9
6 changed files with 21 additions and 19 deletions

View File

@ -2,11 +2,11 @@ name: Docker Build And Push To Docker Hub
on:
push:
branches: [ main ]
paths:
- 'appmanage/Dockerfile'
- 'appmanage/main.py'
- 'appmanage/config/*'
branches: [main]
paths:
- "appmanage/Dockerfile"
- "appmanage/main.py"
- "appmanage/config/*"
jobs:
build:
@ -17,20 +17,22 @@ jobs:
steps:
- uses: actions/checkout@v2
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v5
name: Build & push Docker image
with:
image: websoft9dev/appmanage
tags: latest
tags:
- "latest"
- "0.1.0"
registry: docker.io
dockerfile: appmanage/Dockerfile
directory: appmanage
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: add readme file
run: |
run: |
cd appmanage
touch myread.md
echo "This repository is the easiest appmanage deployment on GitHub and DockerHub "'
@ -38,11 +40,11 @@ jobs:
git clone https://github.com/Websoft9/Stackhub.git
sudo docker network create websoft9 && cd Stackhub/appmanage && sudo docker compose up -d
```' > myread.md
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: websoft9dev/appmanage
readme-filepath: appmanage/myread.md
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: websoft9dev/appmanage
readme-filepath: appmanage/myread.md

View File

@ -10,7 +10,7 @@ COPY static ./static
COPY requirements.txt main.py ./
RUN apt update
# Install supervisord
# Install supervisords
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh

View File

@ -2,7 +2,7 @@ POWER_PASSWORD=uQ8E1wVTzG8SOk3!
APP_NAME=websoft9-kopia
APP_NETWORK=websoft9
APP_VERSION=latest
APP_VERSION=0.13
APP_HTTP_PORT=51515
APP_USER=admin

View File

@ -1,6 +1,6 @@
POWER_PASSWORD=changeme
APP_NAME=websoft9-nginxproxymanager
APP_VERSION=latest
APP_VERSION=2.10.3
APP_HTTP_PORT=9092
APP_USER=admin@example.com
APP_PASSWORD=$POWER_PASSWORD

View File

@ -1,4 +1,4 @@
APP_NAME=websoft9-portainer
APP_VERSION=latest
APP_VERSION=2.18.3
APP_HTTP_PORT=9091
APP_NETWORK=websoft9

View File

@ -1,4 +1,4 @@
APP_VERSION=latest
APP_VERSION=7.0.11
APP_DB_PORT=6379
APP_NAME=websoft9-redis
APP_NETWORK=websoft9