mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
more docs
This commit is contained in:
parent
48e5d45b3f
commit
9c426b48a1
2 changed files with 15 additions and 2 deletions
|
@ -11,13 +11,19 @@ services:
|
|||
# Sits in front of the *real* webserver and manages SSL and (optionally)
|
||||
# load-balancing between multiple web servers
|
||||
#
|
||||
# You can disable this service by setting [DOCKER_PROXY_PROFILE="disabled"]
|
||||
# in your [.env] file - the setting is near the bottom of the file.
|
||||
#
|
||||
# This also disables the [proxy-acme] service, if this is not desired, change the
|
||||
# [DOCKER_PROXY_ACME_PROFILE] setting to an empty string [""]
|
||||
#
|
||||
# See: https://github.com/nginx-proxy/nginx-proxy/tree/main/docs
|
||||
proxy:
|
||||
image: nginxproxy/nginx-proxy:1.4
|
||||
container_name: "${DOCKER_CONTAINER_NAME_PREFIX}-proxy"
|
||||
restart: unless-stopped
|
||||
profiles:
|
||||
- ${DOCKER_PROXY_PROFILE}
|
||||
- ${DOCKER_PROXY_PROFILE:-}
|
||||
volumes:
|
||||
- "${DOCKER_HOST_SOCKET_PATH}:/tmp/docker.sock:ro"
|
||||
- "${DOCKER_CONFIG_ROOT}/proxy/conf.d:/etc/nginx/conf.d"
|
||||
|
@ -30,13 +36,16 @@ services:
|
|||
|
||||
# Proxy companion for managing letsencrypt SSL certificates
|
||||
#
|
||||
# You can disable this service by setting [DOCKER_PROXY_ACME_PROFILE="disabled"]
|
||||
# in your [.env] file - the setting is near the bottom of the file.
|
||||
#
|
||||
# See: https://github.com/nginx-proxy/acme-companion/tree/main/docs
|
||||
proxy-acme:
|
||||
image: nginxproxy/acme-companion
|
||||
container_name: "${DOCKER_CONTAINER_NAME_PREFIX}-proxy-acme"
|
||||
restart: unless-stopped
|
||||
profiles:
|
||||
- ${DOCKER_PROXY_ACME_PROFILE}
|
||||
- ${DOCKER_PROXY_ACME_PROFILE:-}
|
||||
environment:
|
||||
DEBUG: 0
|
||||
DEFAULT_EMAIL: "${LETSENCRYPT_EMAIL}"
|
||||
|
|
|
@ -26,3 +26,7 @@ No problem! All you have to do is:
|
|||
1. `${APP_DOMAIN}.fullchain.pem`
|
||||
1. `${APP_DOMAIN}.key.pem`
|
||||
* See the [`nginx-proxy` configuration file for name patterns](https://github.com/nginx-proxy/nginx-proxy/blob/main/nginx.tmpl#L659-L670)
|
||||
|
||||
## How do I change the container name prefix?
|
||||
|
||||
Change the `DOCKER_CONTAINER_NAME_PREFIX` key/value pair in your `.env` file.
|
||||
|
|
Loading…
Reference in a new issue