nexcloud and docker cmds
This commit is contained in:
42
portainer-compose-stacks/proxy/proxy.yml
Normal file
42
portainer-compose-stacks/proxy/proxy.yml
Normal file
@ -0,0 +1,42 @@
|
||||
version: "3"
|
||||
services:
|
||||
webproxy:
|
||||
deploy:
|
||||
replicas: 1
|
||||
# default login: admin@example.com/changeme
|
||||
container_name: proxy
|
||||
hostname: proxy
|
||||
image: 'jc21/nginx-proxy-manager:2.12.2'
|
||||
restart: always
|
||||
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. admin@example.com/changeme
|
||||
# Add any other Stream port you want to expose
|
||||
# - '21:21' # FTP
|
||||
# - '19130:19130' # minecraft
|
||||
|
||||
environment:
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
# 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:
|
||||
- /mnt/appx/docker_vol/proxy/data:/data
|
||||
- /mnt/appx/docker_vol/proxy/letsencrypt:/etc/letsencrypt
|
||||
# - /mnt/apps/docker_volumes/proxy/data/_snippets/:/snippets
|
||||
networks:
|
||||
proxy_default:
|
||||
ipv4_address: 172.22.0.2 # Fixed IP for your proxy
|
||||
networks:
|
||||
proxy_default:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.22.0.0/24
|
Reference in New Issue
Block a user