Created
January 23, 2024 13:12
-
-
Save saman-taghavi/a62d8a84746a35a15e3f5e2616934d39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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