Skip to content

Commit fef20c2

Browse files
committed
extend usecase, elaborate on docker context
1 parent 7dd79a0 commit fef20c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Webhook endpoint to trigger docker container rebuild.
88
- You are looking for a way to pull and recreate your docker image after CI/CD completes.
99
- You want to avoid polling the container registry on an interval.
1010
- You want to avoid setting up SSH from the pipeline into your server.
11+
- You want to keep the ability to maintain your containers outside of CI/CD events.
1112

1213
## Install
1314

@@ -49,7 +50,7 @@ services:
4950

5051
- Docker Socket: Mount host docker socket into the container to allow the container to execute docker commands as the host user. See security considerations below.
5152
- Compose File (when using the compose endpoints): Crucially mount the docker-compose.yml file exactly at the same absolute path inside the container as outside on the host machine. Docker tracks the compose environment with the labels `com.docker.compose.project.config_files` and `com.docker.compose.project.working_dir`. Interacting with existing containers requires the same compose location otherwise docker will treat this as a separate compose file.
52-
- Compose Context: If your compose project depends on additional files like env files defined in `env_file` key, make sure the container has the same context by mounting additional folders to the same location.
53+
- Docker Context: If your project depends on additional files like env files defined in `env_file` key, make sure the container has the same context by mounting additional folders to the same location.
5354
- If needed for authentication, mount the docker config.json file into the container at `/root/.docker/config.json`.
5455

5556
### Environment Variables

0 commit comments

Comments
 (0)