mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-25 16:55:08 +00:00
Update Deploy_Traefik_and_MariaDB.yml
This commit is contained in:
parent
f4c5fd10b2
commit
49ef11a53a
1 changed files with 16 additions and 16 deletions
32
.github/workflows/Deploy_Traefik_and_MariaDB.yml
vendored
32
.github/workflows/Deploy_Traefik_and_MariaDB.yml
vendored
|
|
@ -12,21 +12,21 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: checkout Script content
|
- name: checkout Script content
|
||||||
uses: actions/checkout@v2 # checkout the repository content
|
uses: actions/checkout@v2 # checkout the repository content
|
||||||
|
## if the docker not install then using this script
|
||||||
|
# - name: setup python
|
||||||
|
# uses: actions/setup-python@v4
|
||||||
|
# with:
|
||||||
|
# python-version: '3.10' # install the python version needed
|
||||||
|
|
||||||
- name: setup python
|
# - name: install dependicese
|
||||||
uses: actions/setup-python@v4
|
# run: |
|
||||||
with:
|
# python -m pip install --upgrade pip
|
||||||
python-version: '3.10' # install the python version needed
|
# pip install -r requirements.txt
|
||||||
|
# pip install PyGithub
|
||||||
- name: install dependicese
|
# - name: fintechsys/docker_compose.py # run main.py
|
||||||
run: |
|
# env:
|
||||||
python -m pip install --upgrade pip
|
# SOME_SECRET: ${{ secrets.SOME_SECRET }}
|
||||||
pip install -r requirements.txt
|
# run: python fintechsys/docker_compose.py
|
||||||
pip install PyGithub
|
|
||||||
- name: fintechsys/docker_compose.py # run main.py
|
|
||||||
env:
|
|
||||||
SOME_SECRET: ${{ secrets.SOME_SECRET }}
|
|
||||||
run: python fintechsys/docker_compose.py
|
|
||||||
|
|
||||||
# - name: Checkout repository
|
# - name: Checkout repository
|
||||||
# uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
|
|
@ -55,7 +55,7 @@ jobs:
|
||||||
|
|
||||||
- name: Docker Compose up for Traefik
|
- name: Docker Compose up for Traefik
|
||||||
run: |
|
run: |
|
||||||
docker-compose --project-name traefik \
|
docker compose --project-name traefik \
|
||||||
--env-file ~/gitopss/traefik.env \
|
--env-file ~/gitopss/traefik.env \
|
||||||
-f overrides/compose.traefik.yaml \
|
-f overrides/compose.traefik.yaml \
|
||||||
-f overrides/compose.traefik-ssl.yaml up -d
|
-f overrides/compose.traefik-ssl.yaml up -d
|
||||||
|
|
@ -65,6 +65,6 @@ jobs:
|
||||||
|
|
||||||
- name: Deploy MariaDB container
|
- name: Deploy MariaDB container
|
||||||
run: |
|
run: |
|
||||||
docker-compose --project-name mariadb \
|
docker compose --project-name mariadb \
|
||||||
--env-file ~/gitopss/mariadb.env \
|
--env-file ~/gitopss/mariadb.env \
|
||||||
-f overrides/compose.mariadb-shared.yaml up -d
|
-f overrides/compose.mariadb-shared.yaml up -d
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue