Skip to content

Instantly share code, notes, and snippets.

@saman-taghavi
Created January 23, 2024 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saman-taghavi/a62d8a84746a35a15e3f5e2616934d39 to your computer and use it in GitHub Desktop.
Save saman-taghavi/a62d8a84746a35a15e3f5e2616934d39 to your computer and use it in GitHub Desktop.
# be sure to make a docker netwrok named nginx-proxy
version: "3"
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
expose:
- 81
ports:
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
environment:
DISABLE_IPV6: 'true'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
networks:
default:
external: true
name: nginx-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment