Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplifications, fixes to make it work
- Loading branch information
1 parent
ed95350
commit 90680f9
Showing
8 changed files
with
84 additions
and
135 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,34 +1,40 @@ | ||
# Docker Compose for a development version of Pushmi-Pullyu | ||
# | ||
# | ||
version: '3' | ||
|
||
services: | ||
hydranorth: | ||
image: "ualibraries/hydra_north:deb" | ||
env_file: | ||
- .env-hydranorth | ||
volumes: | ||
environment: | ||
- LOCAL_SRC_PATH=$HOME/dev/HydraNorth | ||
- EZID_PASSWORD=changeme | ||
volumes: | ||
# di_docker_hydranorth expects codebase in `app` within the container | ||
- ${LOCAL_SRC_PATH:-../../HydraNorth}:/app | ||
- ${LOCAL_SRC_PATH}:/app | ||
ports: | ||
- "3000:3000" | ||
- "8983:8983" | ||
|
||
swift: | ||
swift: | ||
image: "ualibraries/swift_dev" | ||
environment: | ||
- LOCAL_SWIFT_STORAGE=$HOME/.swift | ||
ports: | ||
- "8080:8080" | ||
|
||
pushmi-pullyu: | ||
# assumes GitHup repo clone & run `docker-compose up` from repo root | ||
# `..` context changes to `docker` dir, change to root of repo | ||
build: | ||
context: .. | ||
dockerfile: ./docker/Dockerfile.pushmi_pullyu.development | ||
env_file: | ||
- .env-pushmi_pullyu | ||
volumes: | ||
- ..:/app | ||
image: "ualibraries/pushmi_pullyu" | ||
environment: | ||
- REDIS_HOST=hydranorth | ||
- REDIS_URL=redis://hydranorth:6379 | ||
- SOLR_HOST=hydranorth | ||
- FEDORA_HOST=hydranorth | ||
- FEDORA_USER=fedoraAdmin | ||
- FEDORA_PASS=fedoraAdmin | ||
- SWIFT_ENDPOINT=http://swift:8080 | ||
depends_on: | ||
- swift | ||
- hydranorth | ||
stdin_open: true # help debug: keep STDIN open even if not attached | ||
tty: true # help debug: Allocate a pseudo-TTY | ||
|
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
Oops, something went wrong.