mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-22 06:05:08 +01:00
Merge pull request #538 from J0WI/alpine-eg
Use Alpine Linux in examples and use default user on nginx containers
This commit is contained in:
commit
0c16d10bf1
27 changed files with 22 additions and 29 deletions
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
||||
app:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nextcloud:fpm
|
||||
FROM nextcloud:fpm-alpine
|
||||
|
||||
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
||||
app:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm
|
||||
image: nextcloud:fpm-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
image: postgres:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm
|
||||
image: nextcloud:fpm-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
||||
app:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nextcloud:fpm
|
||||
FROM nextcloud:fpm-alpine
|
||||
|
||||
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
||||
app:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- db.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm
|
||||
image: nextcloud:fpm-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
image: postgres:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
|
Loading…
Add table
Reference in a new issue