Compare commits
2 Commits
renovate/t
...
072d29cddf
| Author | SHA1 | Date | |
|---|---|---|---|
| 072d29cddf | |||
| 61d79dfea0 |
@@ -47,7 +47,7 @@ jobs:
|
|||||||
needs: [prepare_context]
|
needs: [prepare_context]
|
||||||
if: github.event_name == 'pull_request' && github.event.action != 'closed'
|
if: github.event_name == 'pull_request' && github.event.action != 'closed'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
|
|
||||||
- name: Deploy via Rsync & Docker
|
- name: Deploy via Rsync & Docker
|
||||||
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
|
|
||||||
- name: Deploy via Rsync & Docker
|
- name: Deploy via Rsync & Docker
|
||||||
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
SCRIPT_AFTER: |
|
SCRIPT_AFTER: |
|
||||||
set -e
|
set -e
|
||||||
cd ${{ env.REMOTE_STAGING_PATH }}
|
cd ${{ env.REMOTE_STAGING_PATH }}
|
||||||
docker compose --env-file staging.env -f docker-compose.yaml -f docker-compose.client.yaml up -d --build --remove-orphans --wait
|
docker compose --env-file staging.env -f docker-compose.yaml up -d --build --remove-orphans --wait
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
# STAGE 3.5: DEPLOY PRE-PROD
|
# STAGE 3.5: DEPLOY PRE-PROD
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
needs: [deploy_staging]
|
needs: [deploy_staging]
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
|
|
||||||
- name: Deploy via Rsync & Docker
|
- name: Deploy via Rsync & Docker
|
||||||
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
||||||
@@ -165,7 +165,7 @@ jobs:
|
|||||||
needs: [deploy_preprod]
|
needs: [deploy_preprod]
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
|
|
||||||
- name: Deploy via Rsync & Docker
|
- name: Deploy via Rsync & Docker
|
||||||
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
uses: easingthemes/ssh-deploy@2cc5b27bf3029d0455dd5e09fe02633904031447 # v6.0.3
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
services:
|
|
||||||
traefik:
|
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
- shared_network
|
|
||||||
networks:
|
|
||||||
shared_network:
|
|
||||||
name: prod_shared-network
|
|
||||||
external: true
|
|
||||||
@@ -3,14 +3,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- staging-network
|
- staging-network
|
||||||
- shared_network
|
|
||||||
networks:
|
networks:
|
||||||
legacy-nginx:
|
legacy-nginx:
|
||||||
name: proxy
|
name: proxy
|
||||||
external: true
|
external: true
|
||||||
staging-network:
|
staging-network:
|
||||||
name: staging_proxy
|
name: staging_proxy
|
||||||
external: true
|
|
||||||
shared_network:
|
|
||||||
name: prod_shared-network
|
|
||||||
external: true
|
external: true
|
||||||
@@ -1,11 +1,12 @@
|
|||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v3.7@sha256:e4d98158c01ad752fc1071d4e9573788747230d902cdde00a772516e692d07c9"
|
image: "traefik:v3.6@sha256:5ae9c349154d5298a5d61a7b25e5f3a9f53314f1515e87632120b95051c7917c"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
- shared_network
|
||||||
command:
|
command:
|
||||||
- "--providers.docker=true"
|
- "--providers.docker=true"
|
||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
@@ -51,5 +52,8 @@ services:
|
|||||||
- traefik.http.routers.https.tls.certresolver=letsencrypt
|
- traefik.http.routers.https.tls.certresolver=letsencrypt
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
shared_network:
|
||||||
|
name: prod_shared-network
|
||||||
|
external: true
|
||||||
volumes:
|
volumes:
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
http:
|
|
||||||
routers:
|
|
||||||
kovagoadi-gepe-http-router:
|
|
||||||
rule: "HostRegexp(`^.+\\.kovagoadi-gepe\\.kovagoadi\\.hu$`)"
|
|
||||||
entryPoints:
|
|
||||||
- "web"
|
|
||||||
service: "kovagoadi-gepe-http"
|
|
||||||
priority: 100
|
|
||||||
services:
|
|
||||||
kovagoadi-gepe-http:
|
|
||||||
loadBalancer:
|
|
||||||
servers:
|
|
||||||
- url: "http://192.168.1.81:80"
|
|
||||||
|
|
||||||
tcp:
|
|
||||||
routers:
|
|
||||||
kovagoadi-gepe-secure-router:
|
|
||||||
rule: "HostSNI(`*.kovagoadi-gepe.kovagoadi.hu`)"
|
|
||||||
service: "kovagoadi-gepe-secure"
|
|
||||||
tls:
|
|
||||||
passthrough: true
|
|
||||||
priority: 100
|
|
||||||
entryPoints:
|
|
||||||
- "https"
|
|
||||||
services:
|
|
||||||
kovagoadi-gepe-secure:
|
|
||||||
loadBalancer:
|
|
||||||
servers:
|
|
||||||
- address: "192.168.1.81:443"
|
|
||||||
Reference in New Issue
Block a user