mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-01 06:34:10 +02:00
examples: Favor configs over builds
There doesn't seem to be a need to prefer building custom containers, just to add a config file, a need that is easily solved with compose configs. Configs are still managed through git, just no new container needs to be built, slightly simplifying things. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
This commit is contained in:
parent
f2c8cb599e
commit
7a86f30009
22 changed files with 61 additions and 32 deletions
|
@ -49,13 +49,16 @@ services:
|
|||
- redis
|
||||
|
||||
proxy:
|
||||
build: ./proxy
|
||||
image: nginxproxy/nginx-proxy:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
labels:
|
||||
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
|
||||
configs:
|
||||
- source: proxy
|
||||
target: /etc/nginx/conf.d/uploadsize.conf
|
||||
volumes:
|
||||
- certs:/etc/nginx/certs:z,ro
|
||||
- vhost.d:/etc/nginx/vhost.d:z
|
||||
|
@ -93,6 +96,10 @@ services:
|
|||
# networks:
|
||||
# - proxy-tier
|
||||
|
||||
configs:
|
||||
proxy:
|
||||
file: uploadsize.conf
|
||||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
FROM nginxproxy/nginx-proxy:alpine
|
||||
|
||||
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf
|
Loading…
Add table
Add a link
Reference in a new issue