A ready-to-use docker image for your nextcloud.
203
A ready-to-use docker image for nextcloud
GitHub: https://github.com/michivonah/nextcloud-docker
Docker Hub: https://hub.docker.com/r/michivonah/nextcloud
Run container
docker run -itd --name nextcloud michivonah/nextcloud
Run container with mariadb database
docker run
You're done! Now visit http://localhost:8080 in your browser and configure nextcloud
Copy following yml into a file called docker-compose.yml
version: '3.9'
services:
app:
container_name: nextcloud
ports:
- '8080:80'
volumes:
- '/path/to/directory:/var/www/html'
restart: unless-stopped
environment:
- MEMORY_LIMIT=512M
networks:
- nextcloudNET
image: michivonah/nextcloud
db:
container_name: mariadb
volumes:
- '/path/to/database:/var/lib/mysql'
restart: unless-stopped
environment:
- MARIADB_ROOT_PASSWORD=nextcloud
- MARIADB_DATABASE=nextcloud
- MARIADB_USER=nextcloud
- MARIADB_PASSWORD=nextcloud
networks:
- nextcloudNET
image: mariadb
networks:
nextcloudNET:
name: nextcloudNET
Run following command to start up the containers
docker-compose up -d
You're done! Now visit http://localhost:8080 in your browser and configure nextcloud
Clone git repo
git clone https://github.com/michivonah/nextcloud-docker.git
Open directory
cd nextcloud-docker
Build image
docker build -t nextcloud-docker:latest .
Run container
docker run
Please note that you need a running mariadb instance
Content type
Image
Digest
sha256:7008e3f4f…
Size
382.1 MB
Last updated
about 3 years ago
docker pull michivonah/nextcloud