refactor(snipeit): Harmonize example context
This commit is contained in:
parent
fbfe4b4a3d
commit
0bb8bed579
@ -1,12 +1,12 @@
|
|||||||
# How to
|
# How to
|
||||||
|
|
||||||
Add a `COMPOSE_ENV_FILE` and export it along with the location where this repo subdirectory lives, here for example `/opt/containers/snipeit` plus all other variables. At [env/fully.qualified.domain.name_ctx.example](env/fully.qualified.domain.name_ctx.example) you'll find an example file. For parameters that aren't self-explanatory check out [Environment variables](#environment-variables) below.
|
Add a `COMPOSE_ENV_FILE` and export it along with the location where this repo subdirectory lives, here for example `/opt/containers/snipeit` plus all other variables. At [env/fully.qualified.domain.name_ctx.example](env/fully.qualified.domain.name_ctx.example) you'll find an example file. For parameters that aren't self-explanatory check out [Environment variables](#environment-variables) below. The `COMPOSE_CTX` here will be equal to whatever's in your `CONTEXT` down in [Environment variables](#environment-variables).
|
||||||
|
|
||||||
## Prep
|
## Prep
|
||||||
|
|
||||||
```
|
```
|
||||||
export COMPOSE_DIR='/opt/containers/snipeit'
|
export COMPOSE_DIR='/opt/containers/snipeit'
|
||||||
export COMPOSE_CTX='loft'
|
export COMPOSE_CTX='ux_edmonton'
|
||||||
export COMPOSE_PROJECT_NAME='snipeit-'"${COMPOSE_CTX}"
|
export COMPOSE_PROJECT_NAME='snipeit-'"${COMPOSE_CTX}"
|
||||||
export COMPOSE_FILE="${COMPOSE_DIR}"'/docker-compose.yml'
|
export COMPOSE_FILE="${COMPOSE_DIR}"'/docker-compose.yml'
|
||||||
export COMPOSE_ENV_FILE=
|
export COMPOSE_ENV_FILE=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user