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.

30 lines
543 B

version: '3'
services:
nextcloud:
build: .
container_name: nextcloud
restart: always
user: '1000:1000'
links:
- db
enviroment:
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud
MSQL_HOST: db
volumes:
- data:/nextcloud
db:
image: registry.sindominio.net/mariadb
container_name: db
restart: always
volumes:
- db:/var/lib/mysql
environment:
MYSQL_DATABAS: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud