-
Notifications
You must be signed in to change notification settings - Fork 1
[TECH] Notes on version 3.35.3 , docker as tar
Ingi Erli edited this page Nov 21, 2019
·
5 revisions
Check mail from ch, from 2019-10-01
Instructions:
- Download the Docker image from BitBucket https://bitbucket.org/aafc-mbb/seqdb/downloads/seqdb_img_3_35.tar
- Run
docker load -i <path-to-image.tar file>
- verify that the image is there
docker images | grep seqdb
- Download and extract the NRM_Compose: https://bitbucket.org/aafc-mbb/seqdb/downloads/NRM_Compose.tar.xz
- The archive includes the init SQL Script and the DockerCompose file.
- Run docker-compose up
Notes on Volumes in the current docker-compose file:
- There is no Volume for Postgres so not data will be persisted
- There is no Volume for seqdb data folder: /var/lib/seqdb in the seqdb image
- In the docker-compose file you will see that there is an import-sample-account argument.
- This should only be used on the initial start of the app to add the Admin and User accounts.
in the seqdb-section
# import-sample-accounts: "true"
-
version => 3.35
-
psql -d seqdb_prod -U postgres
-
SET search_path TO seqdb;
- Once you have the database with persistent storage (you give it a Volume) just remove the argument form the docker-compose (the seqdb-api is more lenient with that but seqdb itself will complaint that Admin already exist).
see the .env.postgres