server/ReverseProxy/docker-compose.yml

46 lines
1.1 KiB
YAML

version: '3.8'
services:
#nginx (80, 443, 8080)
nginx:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx
ports:
# These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '8080: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"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- ./nginx/data:/data
- ./nginx/letsencrypt:/etc/letsencrypt
restart: unless-stopped
networks:
- websites
- gitea
- databases
- bitwarden
- nextcloud
networks:
websites:
name: websites_default
gitea:
name: gitea_default
databases:
name: database_default
bitwarden:
name: bitwarden_default
nextcloud:
name: nextcloud_default