Add nextcloud
This commit is contained in:
parent
c0eaa1b994
commit
ce6ca9ad9a
Binary file not shown.
|
|
@ -0,0 +1,37 @@
|
||||||
|
version: '2'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nextcloud:
|
||||||
|
db:
|
||||||
|
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: postgres:15-alpine
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- db:/var/lib/postgresql/data
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
|
||||||
|
app:
|
||||||
|
image: nextcloud
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
|
links:
|
||||||
|
- db
|
||||||
|
volumes:
|
||||||
|
- nextcloud:/var/www/html
|
||||||
|
hostname: cloud.dmeiburg.de
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
VIRTUAL_HOST: cloud.dmeiburg.de
|
||||||
|
LETSENCRYPT_HOST: cloud.dmeiburg.de
|
||||||
|
OVERWRITEPROTOCOL: https
|
||||||
|
POSTGRES_HOST: db
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: nginx-proxy
|
||||||
|
external: true
|
||||||
Loading…
Reference in New Issue