nextcloud-fpm/docker-compose.yml
Michael 2a487ac3d0 first commit
Signed-off-by: Michael <michael.lindman@gmail.com>
2020-05-11 14:51:41 +01:00

24 lines
570 B
YAML

version: '3.3'
services:
fpm:
image: nextcloud:fpm
volumes:
- ./data:/var/www/html
- /mnt/storage/storage:/mnt/storage:ro
ports:
- "9000:9000"
depends_on:
- db
restart: unless-stopped
tty: true
db:
image: postgres:latest
restart: unless-stopped
environment:
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=
- POSTGRES_DB=nextcloud
volumes:
- ./db:/var/lib/postgres/data
tty: true