From 91004b01e0a162f081fe0550eff5e53c2afed14b Mon Sep 17 00:00:00 2001 From: GussevPM Date: Thu, 12 Sep 2024 19:23:10 +0200 Subject: [PATCH] Upd docker-compose --- .github/workflows/build.yml | 4 ++-- docker-compose.yml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8049451..555a929 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,8 +24,8 @@ jobs: - name: Build Docker Image run: | - docker build -t ghcr.io/${{ github.repository }}/astrotrek-interface:${{ github.ref_name }} . + docker build -t ghcr.io/${{ github.repository }}:${{ github.ref_name }} . - name: Push Docker Image to GitHub Container Registry run: | - docker push ghcr.io/${{ github.repository }}/astrotrek-interface:${{ github.ref_name }} + docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }} diff --git a/docker-compose.yml b/docker-compose.yml index 8c792af..ccedd27 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,13 @@ version: "3.8" services: nuxt-app: + image: ghcr.io/celenium-io/astrotrek-interface:test-build build: context: . dockerfile: Dockerfile ports: - - "3000:3000" + - "127.0.0.1:3000:3000" environment: - - NUXT_PUBLIC_API_DEV=https://api-dusk-5.astrotrek.io/v1 - - NUXT_PUBLIC_WSS_DEV=wss://api-dusk-5.astrotrek.io/v1/ws + - NUXT_PUBLIC_API_DEV=https://api-dusk.astrotrek.io/v1 + - NUXT_PUBLIC_WSS_DEV=wss://api-dusk.astrotrek.io/v1/ws command: npm run start