-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added production and development docker and compose files, updated re…
…adme
- Loading branch information
Tomáš Houfek
committed
Oct 28, 2024
1 parent
ff03c82
commit c9f338b
Showing
6 changed files
with
91 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM bitnami/python:3.10 | ||
|
||
RUN mkdir /pseudo-app | ||
|
||
WORKDIR /pseudo-app | ||
|
||
RUN groupadd -g 1002 sequencers && useradd -u 1005 -g sequencers export | ||
|
||
ADD requirements.txt . | ||
ADD main.py . | ||
ADD pseudonymization/ pseudonymization/ | ||
ADD tests/ tests/ | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
USER export |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: '3.0' | ||
services: | ||
run: | ||
build: Dockerfile.dev | ||
user: "1001:998" | ||
volumes: | ||
- /home/houfek/Work/MMCI/sequencing_pipeline/data-catalogue-playground/muni-sc/:/sc | ||
- /home/houfek/Work/MMCI/sequencing_pipeline/data-catalogue-playground/seq/TRANSFER/:/TRANSFER | ||
- /home/houfek/Work/MMCI/sequencing_pipeline/data-catalogue-playground/pseudonymisation_table/:/pseudonymisation_tables/ | ||
- /home/houfek/Work/MMCI/sequencing_pipeline/data-catalogue-playground/Libraries/:/Libraries | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
command: bash -c "python main.py | ||
-s /TRANSFER | ||
-d /sc/PseudonymizedRuns | ||
-t /pseudonymisation_tables | ||
-l /Libraries | ||
-lsc /sc/Libraries" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3.0' | ||
services: | ||
run: | ||
build: Dockerfile.prod | ||
user: "1005:1002" | ||
volumes: | ||
- /muni-ss/:/sc | ||
- /seq/NO-BACKUP-SPACE/:/seq | ||
- /pseudo_tables/:/pseudo_tables | ||
command: ["bash", "-c", "python main.py -s /seq/TRANSFER/MiSEQ -d /sc/PSEUDONYMIZED/ -t /pseudo_tables -l /seq/Libraries -lsc /sc/Libraries"] |
This file was deleted.
Oops, something went wrong.