diff --git a/dockge/.arch b/dockge/.arch new file mode 100644 index 0000000..2292234 --- /dev/null +++ b/dockge/.arch @@ -0,0 +1 @@ +linux/amd64,linux/arm/v7,linux/arm64 diff --git a/dockge/.version b/dockge/.version new file mode 100644 index 0000000..626799f --- /dev/null +++ b/dockge/.version @@ -0,0 +1 @@ +v1 diff --git a/dockge/Dockerfile b/dockge/Dockerfile new file mode 100644 index 0000000..4bb088d --- /dev/null +++ b/dockge/Dockerfile @@ -0,0 +1,2 @@ +FROM louislam/dockge:1 +LABEL maintainer="Tech Thinker " diff --git a/dockge/README.md b/dockge/README.md new file mode 100644 index 0000000..548d9dc --- /dev/null +++ b/dockge/README.md @@ -0,0 +1,27 @@ +# Dockge + +It will allow you to run your code in a Docker container, and then access it from your local machine. + +## Installation +- Create `docker-compose.yml` +```sh +version: "3.8" +services: + dockge: + image: techthinkerorg/dockge:v1 + restart: unless-stopped + ports: + - 10001:5001 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./data:/app/data + - ./.docker/:/root/.docker + - /srv/dockge-stacks:/opt/stacks + environment: + # Tell Dockge where to find the stacks + - DOCKGE_STACKS_DIR=/opt/stacks +``` +- Run `docker-compose up` +```sh +docker-compose up -d +```