mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-06 03:54:01 +02:00
31 lines
647 B
YAML
31 lines
647 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
|
|
nextcloud:
|
|
image: arm32v7/nextcloud:22
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./data/nextcloud:/var/www/html
|
|
environment:
|
|
- POSTGRES_HOST=postgres
|
|
- POSTGRES_DB=nextcloud
|
|
- POSTGRES_USER=nextcloud
|
|
- POSTGRES_PASSWORD=nextcloud
|
|
depends_on:
|
|
- postgres
|
|
restart: unless-stopped
|
|
|
|
postgres:
|
|
image: arm32v7/postgres:13-alpine
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- ./data/postgres:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_USER=nextcloud
|
|
- POSTGRES_PASSWORD=nextcloud
|
|
- POSTGRES_DB=nextcloud
|
|
restart: unless-stopped
|