Skip to content

Commit

Permalink
inkluderer smerte-dev (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthon authored Sep 13, 2024
1 parent d85ddfd commit dd138a7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
nra-dev: "nra-dev/**"
norspis-dev: "norspis-dev/**"
muskel-dev: "muskel-dev/**"
smerte-dev: "smerte-dev/**"
push_to_registries:
needs: changes
Expand Down
11 changes: 11 additions & 0 deletions smerte-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM rapporteket/dev:weekly

LABEL maintainer="Kevin Thon <kevin.otto.thon@helse-nord.no>"

# hadolint ignore=DL3008

# add registry dev config and R pkg dependencies
COPY --chown=rstudio:rstudio db.yml /home/rstudio/rap_config/
RUN cat /home/rstudio/rap_config/db.yml >> /home/rstudio/rap_config/dbConfig.yml \
&& rm /home/rstudio/rap_config/db.yml \
&& R -e "remotes::install_github(c('Rapporteket/rapbase', 'Rapporteket/smerte'))"
13 changes: 13 additions & 0 deletions smerte-dev/db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# for registry development
smerteLokal:
host: db
name: SmerteReportDataStaging
user: root
pass: root
disp: ForSmerteLokalDevOnly
smerteNasjonal:
host: db
name: SmerteNasjonalReportDataStaging
user: root
pass: root
disp: ForSmerteNasjonalDevOnly

0 comments on commit dd138a7

Please sign in to comment.