chore: add gitea
This commit is contained in:
+23
-13
@@ -1,26 +1,36 @@
|
||||
---
|
||||
services:
|
||||
app:
|
||||
image: "jc21/nginx-proxy-manager:latest"
|
||||
container_name: nginx-proxy-manager
|
||||
restart: unless-stopped
|
||||
|
||||
ports:
|
||||
# These ports are in format <host-port>:<container-port>
|
||||
- "80:80" # Public HTTP Port
|
||||
- "443:443" # Public HTTPS Port
|
||||
- "81:81" # Admin Web Port
|
||||
- "22:22" # SSH
|
||||
- "127.0.0.1:81:81" # Admin Web Port
|
||||
# Add any other Stream port you want to expose
|
||||
# - '21:21' # FTP
|
||||
|
||||
# Uncomment the next line if you uncomment anything in the section
|
||||
# environment:
|
||||
# Uncomment this if you want to change the location of
|
||||
# the SQLite DB file within the container
|
||||
# DB_SQLITE_FILE: "/data/database.sqlite"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
# Uncomment this if IPv6 is not enabled on your host
|
||||
# DISABLE_IPV6: 'true'
|
||||
networks:
|
||||
- proxy
|
||||
- default
|
||||
|
||||
environment:
|
||||
TZ: "America/New_York"
|
||||
DISABLE_IPV6: "true"
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/bin/check-health"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
- /srv/npm/data:/data
|
||||
- /srv/npm/letsencrypt:/etc/letsencrypt
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user