This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-10-10 08:07:46 +00:00
|
|
|
docker files and integrations
|
|
|
|
|
2023-10-31 10:00:08 +00:00
|
|
|
# idhub
|
|
|
|
|
2023-11-03 09:16:42 +00:00
|
|
|
## build
|
|
|
|
|
|
|
|
```sh
|
|
|
|
# clone or get latest versions of repos
|
|
|
|
./pull-repos.sh
|
|
|
|
# rebuild idhub locally
|
|
|
|
./idhub_build.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
in production, use `./idhub_build.sh prod` to enable detaching
|
2023-10-31 10:00:08 +00:00
|
|
|
|
|
|
|
TODO: incorporate to general docker compose
|
|
|
|
|
2023-10-10 08:07:46 +00:00
|
|
|
# deploy everything in localhost
|
|
|
|
|
|
|
|
note: right now the same applies for localhost and reachable deployments
|
|
|
|
|
|
|
|
```
|
|
|
|
docker compose up
|
|
|
|
```
|
|
|
|
|
|
|
|
# building and deploying new docker images
|
|
|
|
|
|
|
|
```
|
|
|
|
make docker
|
|
|
|
```
|
|
|
|
|
|
|
|
# dev
|
|
|
|
|
|
|
|
if you want to enter a shell inside a new container:
|
|
|
|
|
|
|
|
```
|
|
|
|
docker run -it --entrypoint= ${target_docker_image} bash
|
|
|
|
```
|
|
|
|
|
|
|
|
if you want to enter a shell on already running container:
|
|
|
|
|
|
|
|
```
|
|
|
|
docker exec -it ${target_docker_image} bash
|
|
|
|
```
|