Skip to content

Commit

Permalink
fix(infra): delete re-create option of docker compose (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssupecial authored Feb 26, 2024
1 parent 7dd780e commit d6de22b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/update-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ jobs:
docker compose --profile caddy ps -q
echo EOF
} >> "$GITHUB_OUTPUT"
- name: when caddy container down, caddy up
if: steps.check-caddy-container.outputs.stdout == ''
run: |
docker compose --profile caddy up -d
- name: Run Docker Compose for Log (Loki, Minio, Grafana)
run: |
docker compose --profile log up -d --no-recreate
docker compose --profile log up -d
- name: Run Docker Compose Of Trace (Agent, Tempo, Grafana)
run: |
docker compose --profile trace up -d --no-recreate
docker compose --profile trace up -d
- name: Run Docker Compose for Metric (Agent, Prometheus, Grafana)
run: |
docker compose --profile metric up -d --no-recreate
- name: when caddy container down, caddy up
if: steps.check-caddy-container.outputs.stdout == ''
run: |
docker compose --profile caddy up -d --no-recreate
docker compose --profile metric up -d
- name: Set Caddyfile Environment Variables
run: |
Expand Down

0 comments on commit d6de22b

Please sign in to comment.