Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map configs via volumes instead of build new image #559

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
- default

proxy:
build: ./proxy
images: jwilder/nginx-proxy:alpine
restart: always
ports:
- 80:80
Expand All @@ -43,6 +43,7 @@ services:
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./configs/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf
networks:
- proxy-tier

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,24 @@ services:
- db

web:
build: ./web
image: nginx:alpine
restart: always
volumes:
- nextcloud:/var/www/html:ro
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- app
networks:
- proxy-tier
- default

proxy:
build: ./proxy
image: jwilder/nginx-proxy:alpine
restart: always
ports:
- 80:80
Expand All @@ -52,6 +54,7 @@ services:
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./configs/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf
networks:
- proxy-tier

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ services:
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
# workaround for https://github.com/nextcloud/docker/issues/345
- POSTGRES_DB=deleteme
env_file:
- db.env

Expand All @@ -29,7 +32,8 @@ services:
- default

proxy:
build: ./proxy
image: jwilder/nginx-proxy:alpine

restart: always
ports:
- 80:80
Expand All @@ -41,6 +45,7 @@ services:
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./configs/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf
networks:
- proxy-tier

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ services:
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
# workaround for https://github.com/nextcloud/docker/issues/345
- POSTGRES_DB=deleteme
env_file:
- db.env

Expand All @@ -23,10 +26,11 @@ services:
- db

web:
build: ./web
image: nginx:alpine
restart: always
volumes:
- nextcloud:/var/www/html:ro
- ./configs/nginx.conf:/etc/nginx/nginx.conf
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
Expand All @@ -38,7 +42,7 @@ services:
- default

proxy:
build: ./proxy
image: jwilder/nginx-proxy:alpine
restart: always
ports:
- 80:80
Expand All @@ -50,6 +54,7 @@ services:
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./configs/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf
networks:
- proxy-tier

Expand Down

This file was deleted.

This file was deleted.