Add nextcloud

This commit is contained in:
Daniel Meiburg 2023-02-15 00:48:33 +01:00
parent c0eaa1b994
commit ce6ca9ad9a
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
2 changed files with 37 additions and 0 deletions

BIN
nextcloud/.env.gpg Normal file

Binary file not shown.

View File

@ -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