add Dockerfile + docker-compose for Dokploy Git deployment
This commit is contained in:
parent
2176128cf0
commit
286def76ca
2 changed files with 31 additions and 0 deletions
2
Dockerfile
Normal file
2
Dockerfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
FROM nginx:alpine
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Dashboard — home.manohargupta.com
|
||||
# Served by nginx:alpine, built from repo by Dokploy.
|
||||
# Auto-deploys on push to Forgejo via Dokploy Git integration.
|
||||
|
||||
services:
|
||||
dashboard:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dokploy-network
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=dokploy-network"
|
||||
- "traefik.http.routers.dashboard.rule=Host(`home.manohargupta.com`)"
|
||||
- "traefik.http.routers.dashboard.entrypoints=websecure"
|
||||
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.dashboard.loadbalancer.server.port=80"
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=dokploy-network"
|
||||
- "traefik.http.routers.dashboard.rule=Host(`home.manohargupta.com`)"
|
||||
- "traefik.http.routers.dashboard.entrypoints=websecure"
|
||||
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.dashboard.loadbalancer.server.port=80"
|
||||
|
||||
networks:
|
||||
dokploy-network:
|
||||
external: true
|
||||
Loading…
Add table
Reference in a new issue