This commit is contained in:
he3als 2024-05-02 13:51:01 +08:00 committed by GitHub
commit 52a9c0d9b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View file

@ -66,8 +66,8 @@ services:
- '81:81' - '81:81'
- '443:443' - '443:443'
volumes: volumes:
- ./data:/data - /srv/nginx-proxy-manager/data:/data
- ./letsencrypt:/etc/letsencrypt - /srv/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
``` ```
This is the bare minimum configuration required. See the [documentation](https://nginxproxymanager.com/setup/) for more. This is the bare minimum configuration required. See the [documentation](https://nginxproxymanager.com/setup/) for more.

View file

@ -121,8 +121,8 @@ services:
# Uncomment this if IPv6 is not enabled on your host # Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true' # DISABLE_IPV6: 'true'
volumes: volumes:
- ./data:/data - /srv/nginx-proxy-manager/data:/data
- ./letsencrypt:/etc/letsencrypt - /srv/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
secrets: secrets:
- MYSQL_PWD - MYSQL_PWD
depends_on: depends_on:

View file

@ -28,8 +28,8 @@ services:
# DISABLE_IPV6: 'true' # DISABLE_IPV6: 'true'
volumes: volumes:
- ./data:/data - /srv/nginx-proxy-manager/data:/data
- ./letsencrypt:/etc/letsencrypt - /srv/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
``` ```
Then: Then:
@ -73,8 +73,8 @@ services:
# Uncomment this if IPv6 is not enabled on your host # Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true' # DISABLE_IPV6: 'true'
volumes: volumes:
- ./data:/data - /srv/nginx-proxy-manager/data:/data
- ./letsencrypt:/etc/letsencrypt - /srv/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
depends_on: depends_on:
- db - db