diff --git a/dockge/README.md b/dockge/README.md new file mode 100644 index 0000000..771ed22 --- /dev/null +++ b/dockge/README.md @@ -0,0 +1,34 @@ + +# Dockge + +## About + +A fancy, easy-to-use and reactive self-hosted `docker-compose.yml` stack-oriented manager. + +## Links + +🔗 +🔗 + +## `compose.yml` example + +The `compose.yml` (or `docker-compose.yml`) file needs to be saved in `/opt/dockge/compose.yml` or `/opt/dockge/docker-compose.yml`. + +```yaml +services: + dockge: + image: louislam/dockge:1 + restart: unless-stopped + ports: + # Host Port : Container Port + - 5001:5001 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./data:/app/data + # ⚠️ 1. FULL path only. No relative path (MUST) + # ⚠️ 2. Left Stacks Path === Right Stacks Path (MUST) + - /home/acedanger/docker/:/home/acedanger/docker/ + environment: + # Tell Dockge where is your stacks directory + - DOCKGE_STACKS_DIR=/home/acedanger/docker/ +``` diff --git a/dockge/data/db-config.json b/dockge/data/db-config.json new file mode 100644 index 0000000..6d3ac49 --- /dev/null +++ b/dockge/data/db-config.json @@ -0,0 +1,3 @@ +{ + "type": "sqlite" +} \ No newline at end of file diff --git a/dockge/data/dockge.db b/dockge/data/dockge.db new file mode 100644 index 0000000..879dfc0 Binary files /dev/null and b/dockge/data/dockge.db differ diff --git a/dockge/data/dockge.db-shm b/dockge/data/dockge.db-shm new file mode 100644 index 0000000..6cbbac2 Binary files /dev/null and b/dockge/data/dockge.db-shm differ diff --git a/dockge/data/dockge.db-wal b/dockge/data/dockge.db-wal new file mode 100644 index 0000000..820ce1a Binary files /dev/null and b/dockge/data/dockge.db-wal differ diff --git a/dockge/docker-compose.yml b/dockge/docker-compose.yml new file mode 100644 index 0000000..315f8e0 --- /dev/null +++ b/dockge/docker-compose.yml @@ -0,0 +1,20 @@ +services: + dockge: + image: louislam/dockge:1 + restart: unless-stopped + ports: + # Host Port : Container Port + - 5001:5001 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./data:/app/data + # If you want to use private registries, you need to share the auth file with Dockge: + # - /root/.docker/:/root/.docker + # Stacks Directory + # ⚠️ READ IT CAREFULLY. If you did it wrong, your data could end up writing into a WRONG PATH. + # ⚠️ 1. FULL path only. No relative path (MUST) + # ⚠️ 2. Left Stacks Path === Right Stacks Path (MUST) + - /home/acedanger/docker/:/home/acedanger/docker/ + environment: + # Tell Dockge where is your stacks directory + - DOCKGE_STACKS_DIR=/home/acedanger/docker/