Updated Docker (markdown)

Karmaa
2025-06-18 01:39:29 -05:00
parent 17e76eecf7
commit 80892b63de

@@ -1,4 +1,4 @@
Docker Command Line # Docker CLI
```sh ```sh
docker volume create termix-data docker volume create termix-data
``` ```
@@ -12,7 +12,12 @@ docker run -d \
-e PORT=8080 \ -e PORT=8080 \
ghcr.io/lukegus/termix:latest 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 # Docker Compose
```yaml ```yaml
services: services:
@@ -33,7 +38,7 @@ volumes:
termix-data: termix-data:
driver: local 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 ```sh
docker-compose up -d docker-compose up -d
``` ```