0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-17 11:55:08 +01:00
nextcloud-docker/energy-tests/compose-postgres.yml
2023-07-24 13:25:48 +02:00

31 lines
No EOL
576 B
YAML

version: '2'
volumes:
nextcloud:
db:
services:
db:
image: postgres:15.3-alpine3.18
restart: always
volumes:
- db:/var/lib/postgresql/data:Z
environment:
- POSTGRES_PASSWORD=TheGibson
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
nc:
image: nextcloud:27.0.1-apache
restart: always
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_PASSWORD=TheGibson
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_HOST=db