Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ flask run
- Create network for containers `docker network create emblinator`
- Add postgres to network `docker network connect emblinator emblinator-postgres`
- `docker build -t annotator-backend .`
- Run dev server: `docker run -it -p 5000:5000 --env-file docker.env --network emblinator annotator-backend flask run --host 0.0.0.0`
- Run dev server: `docker run -it -p 5000:5000 --env-file docker.env --network emblinator -v `pwd`/secrets/{your_google_credentials.json}:/secrets/credentials.json annotator-backend flask run --host 0.0.0.0`

### Run and build docker in production
- TODO
Expand Down
6 changes: 4 additions & 2 deletions docker.env_default
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_HOST=
POSTGRES_PORT=
POSTGRES_PORT=5432
POSTGRES_DB_NAME=
ENVIRONMENT=
ENVIRONMENT=local-full-docker
GOOGLE_APPLICATION_CREDENTIALS=/secrets/credentials.json
BUCKET_NAME=