You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
780 B

---
version: "3.4"
services:
db:
container_name: cloud-db
image: postgres:14
volumes:
- cloud-db-data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: cloud-password
POSTGRES_USER: cloud-user
POSTGRES_DB: cloud-db
networks:
- cloud-net
app:
container_name: cloud-app
build: .
image: glenux/nextcloud:23
volumes:
- cloud-app-data:/var/www/html
environment:
POSTGRES_PASSWORD: cloud-password
POSTGRES_USER: cloud-user
POSTGRES_DB: cloud-db
POSTGRES_HOST: cloud-db
NEXTCLOUD_ADMIN_USER: admin
NEXTCLOUD_ADMIN_PASSWORD: "1234"
networks:
- cloud-net
ports:
- 8080:80
volumes:
cloud-app-data:
cloud-db-data:
networks:
cloud-net:
#