Skip to content

Commit

Permalink
Cherry picked the remaining files from develop
Browse files Browse the repository at this point in the history
In particular the CI pipeline, plus the environment variables needed for
building.
  • Loading branch information
DavidCroftDKFZ committed Oct 21, 2024
1 parent a68139f commit c0819b4
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
.git/
dist/
.idea/
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
WDS_SOCKET_PORT=443
VUE_APP_EXPORTER_URL=http://localhost:8092
VUE_APP_FB_BACKEND_URL=http://localhost:8072
1 change: 1 addition & 0 deletions .env.standalone
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
STANDALONE_SINGLE_SPA=true
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docker CI

on:
push:
branches:
- main
- develop
# Build then a new version is tagged
tags:
- '*.*.*'
pull_request:
branches:
- main
- develop
schedule:
# Build every night at 1am
- cron: '0 1 * * *'
jobs:
build:
uses: samply/github-workflows/.github/workflows/docker-ci.yml@main
with:
image-name: "samply/feedback-agent-ui"
push-to: dockerhub
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

0 comments on commit c0819b4

Please sign in to comment.