0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-12-24 02:06:12 +01:00

Use Alpine Linux in examples and use default user

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2018-11-15 15:49:33 +01:00
parent b6b83ba7ea
commit aa5c0c1929
27 changed files with 22 additions and 29 deletions

View file

@ -13,7 +13,7 @@ services:
- db.env
redis:
image: redis
image: redis:alpine
restart: always
app:

View file

@ -1,3 +1,3 @@
FROM nextcloud:fpm
FROM nextcloud:fpm-alpine
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View file

@ -13,7 +13,7 @@ services:
- db.env
redis:
image: redis
image: redis:alpine
restart: always
app:

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;

View file

@ -13,7 +13,7 @@ services:
- db.env
app:
image: nextcloud:fpm
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;

View file

@ -2,7 +2,7 @@ version: '3'
services:
db:
image: postgres
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data

View file

@ -2,7 +2,7 @@ version: '3'
services:
db:
image: postgres
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data
@ -10,7 +10,7 @@ services:
- db.env
app:
image: nextcloud:fpm
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;

View file

@ -13,7 +13,7 @@ services:
- db.env
app:
image: nextcloud:fpm
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;

View file

@ -13,7 +13,7 @@ services:
- db.env
redis:
image: redis
image: redis:alpine
restart: always
app:

View file

@ -1,3 +1,3 @@
FROM nextcloud:fpm
FROM nextcloud:fpm-alpine
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View file

@ -13,7 +13,7 @@ services:
- db.env
redis:
image: redis
image: redis:alpine
restart: always
app:

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;

View file

@ -13,7 +13,7 @@ services:
- db.env
app:
image: nextcloud:fpm
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;

View file

@ -2,7 +2,7 @@ version: '3'
services:
db:
image: postgres
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data

View file

@ -2,7 +2,7 @@ version: '3'
services:
db:
image: postgres
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data
@ -10,7 +10,7 @@ services:
- db.env
app:
image: nextcloud:fpm
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html

View file

@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,4 +1,3 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;