mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-01 23:56:27 +00:00
Add example Docker compose file
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
version: '3'
|
||||||
|
# This instance is using SQLite3 as database backend.
|
||||||
|
# Please consider using a proper database like MariaDB or PostgreSQL
|
||||||
|
# if you are want to use this productive.
|
||||||
|
|
||||||
|
services:
|
||||||
|
nextcloud:
|
||||||
|
image: wonderfall/nextcloud
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.15.0
|
||||||
|
environment:
|
||||||
|
- UID=1000
|
||||||
|
- GID=1000
|
||||||
|
- ADMIN_USER=mrrobot
|
||||||
|
- ADMIN_PASSWORD=supercomplicatedpassword
|
||||||
|
- DB_TYPE=sqlite
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- ./config:/config
|
||||||
|
- ./apps:/apps2
|
||||||
|
ports:
|
||||||
|
- 8888:8888
|
Reference in New Issue
Block a user