2022-02-15 16:20:16 +00:00
|
|
|
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
|
2022-06-01 11:07:31 +00:00
|
|
|
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
|