Skip to content

Commit

Permalink
add dockge
Browse files Browse the repository at this point in the history
  • Loading branch information
vineelsai26 committed Jan 13, 2024
1 parent d1be04b commit b847460
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "docker" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
assignees:
- "vineelsai26"
commit-message:
prefix: "docker"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
ansible*key
inventory
.terraform*
.env
*.env
.DS_Store
2 changes: 1 addition & 1 deletion ansible/update.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Update and Upgrade all packages on Debian based systems
- name: Update and Upgrade all packages on Linux based systems
become: true
hosts: all
tasks:
Expand Down
35 changes: 35 additions & 0 deletions docker-compose/Dockge/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: "3.8"
services:
dockge:
image: louislam/dockge:1
restart: unless-stopped
ports:
- 5001:5001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
# 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/vineel/homelab/docker-compose:/home/vineel/homelab/docker-compose
environment:
# Tell Dockge where to find the stacks
- DOCKGE_STACKS_DIR=/home/vineel/homelab/docker-compose
labels:
- "traefik.enable=true"
- "traefik.http.routers.dockge.entrypoints=http"
- "traefik.http.routers.dockge.rule=Host(`dockge.home.vineelsai.com`)||Host(`dockge.vineelsai.com`)"
- "traefik.http.middlewares.dockge-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.dockge.middlewares=dockge-https-redirect"
- "traefik.http.routers.dockge-secure.entrypoints=https"
- "traefik.http.routers.dockge-secure.rule=Host(`dockge.home.vineelsai.com`)||Host(`dockge.vineelsai.com`)"
- "traefik.http.routers.dockge-secure.tls=true"
- "traefik.http.routers.dockge-secure.service=dockge"
- "traefik.http.services.dockge.loadbalancer.server.port=5001"
- "traefik.docker.network=traefik_proxy"

networks:
default:
name: traefik_proxy
external: true
4 changes: 2 additions & 2 deletions docker-compose/Traefik/config/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
swarm:
endpoint: "unix:///var/run/docker.sock"
# swarm:
# endpoint: "unix:///var/run/docker.sock"
file:
filename: /etc/traefik/config.yml
watch: true
Expand Down

0 comments on commit b847460

Please sign in to comment.