Public Access
Обновить compose.yaml
This commit is contained in:
1 parent
ec677de4a4
commit
9ed3f57eb8
1 file changed
+3
-12
+3
-12
@@ -82,31 +82,22 @@ services:
|
||||
- backend
|
||||
|
||||
nginx:
|
||||
build:
|
||||
context: .
|
||||
target: nginx
|
||||
args:
|
||||
EGEYA_VERSION: ${EGEYA_VERSION:-4199}
|
||||
EGEYA_URL: ${EGEYA_URL:-}
|
||||
EGEYA_SHA256: ${EGEYA_SHA256:-}
|
||||
|
||||
image: ${EGEYA_NGINX_IMAGE:-local/egeya-nginx}:${EGEYA_VERSION:-4199}
|
||||
restart: unless-stopped
|
||||
|
||||
depends_on:
|
||||
php:
|
||||
condition: service_healthy
|
||||
- php
|
||||
|
||||
environment:
|
||||
NGINX_SERVER_NAME: ${NGINX_SERVER_NAME:-_}
|
||||
NGINX_CLIENT_MAX_BODY_SIZE: ${PHP_POST_MAX_SIZE:-1024M}
|
||||
TZ: ${TZ:-UTC}
|
||||
NGINX_EXTERNAL_PORT: ${HTTP_PORT:-8080}
|
||||
|
||||
ports:
|
||||
- "${HTTP_BIND:-127.0.0.1}:${HTTP_PORT:-8080}:80"
|
||||
|
||||
volumes:
|
||||
- ./data:/var/www/egeya-data:ro
|
||||
- ./nginx/egeya.conf.template:/etc/nginx/templates/egeya.conf.template:ro
|
||||
|
||||
networks:
|
||||
- frontend
|
||||
|
||||
Reference in new issue
Block a user