diff --git a/docker-compose.yml b/docker-compose.yml index 206bdc0..8fa37e8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,11 @@ -version: '2.1' +version: '2.2' services: nextcloud-app: build: ./docker/app restart: always mem_limit: 512m + cpus: 1.5 depends_on: - nextcloud-database - nextcloud-redis @@ -32,6 +33,8 @@ build: ./docker/web restart: always mem_limit: 512m + logging: + driver: json-file ports: - "${NEXTCLOUD_WEB_BIND:-127.0.0.1}:${NEXTCLOUD_WEB_PORT:-8080}:80" volumes: diff --git a/docker/web/nginx.conf b/docker/web/nginx.conf index 8ac51de..0b6fb89 100644 --- a/docker/web/nginx.conf +++ b/docker/web/nginx.conf @@ -32,7 +32,6 @@ } server { - #listen 80 http2; listen 80; # Add headers to serve security related headers