mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-19 20:19:24 +00:00
Add example Docker compose file
This commit is contained in:
parent
938b98090b
commit
0e529b0fca
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
|
Loading…
x
Reference in New Issue
Block a user