Changed network #1

Merged
kovagoadi merged 25 commits from changed-network into main 2025-11-11 11:49:29 +01:00
3 changed files with 7 additions and 3 deletions
Showing only changes of commit adfa1b582a - Show all commits

View File

@@ -114,7 +114,7 @@ jobs:
chmod 644 ~/.ssh/known_hosts
- name: Run docker-compose on remote host
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "cd '${{ needs.prepare_deployment_vars.outputs.deploy_path }}' && docker-compose up -d --build"
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "cd '${{ needs.prepare_deployment_vars.outputs.deploy_path }}' && docker-compose up -f docker-compose.yaml -f docker-compose-pr.yaml -d --build"
cleanup_mr_environment:
name: Cleanup MR environment

4
docker-compose-pr.yaml Normal file
View File

@@ -0,0 +1,4 @@
services:
traefik:
ports:
- "8001:80"

View File

@@ -13,8 +13,8 @@ services:
- "--providers.docker.network=prod-proxy"
- "--entryPoints.web.address=:80"
ports:
- "80"
- "8080"
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"