diff --git a/Docker.md b/Docker.md index 4b2f2c1..72d7c37 100644 --- a/Docker.md +++ b/Docker.md @@ -1,4 +1,4 @@ -Docker Command Line +# Docker CLI ```sh docker volume create termix-data ``` @@ -12,7 +12,12 @@ docker run -d \ -e PORT=8080 \ ghcr.io/lukegus/termix:latest ``` - +Note: +If you want to add your own configuration files or directories for Confix to manage, you need to add additional -v volume mounts. +For example, to map a local config folder /your/local/config to /apps inside the container: +```sh +-v /your/local/config:/apps +``` # Docker Compose ```yaml services: @@ -33,7 +38,7 @@ volumes: termix-data: driver: local ``` -to start the container, run +Read through the compose file and make changes according to the comments and environment variables. To start the container, run: ```sh docker-compose up -d ``` \ No newline at end of file