Skip to content

Commit

Permalink
Upd docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
GusevPM committed Sep 12, 2024
1 parent 4c34901 commit 91004b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 91004b0

Please sign in to comment.