2022-12-24 03:38:43 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
app:
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
2023-01-08 15:05:11 +02:00
|
|
|
container_name: nextcloud
|
2022-12-24 03:38:43 +02:00
|
|
|
image: nextcloud
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
volumes:
|
|
|
|
- app:/var/www/html
|
2023-06-19 19:21:24 +03:00
|
|
|
- /mnt/data/nextcloud/files:/var/www/html/data
|
|
|
|
- /mnt/data/nextcloud/config:/var/www/html/config
|
2022-12-24 03:38:43 +02:00
|
|
|
environment:
|
|
|
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
|
|
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
|
|
|
- MYSQL_USER=${MYSQL_USER}
|
|
|
|
- MYSQL_HOST=${MYSQL_HOST}
|
2023-06-19 19:21:24 +03:00
|
|
|
networks:
|
|
|
|
- mariadb_default
|
|
|
|
- proxy
|
2022-12-24 03:38:43 +02:00
|
|
|
|
|
|
|
networks:
|
2023-06-19 19:21:24 +03:00
|
|
|
mariadb_default:
|
2022-12-24 03:38:43 +02:00
|
|
|
external: true
|
2023-03-10 14:19:54 +02:00
|
|
|
proxy:
|
2023-06-19 19:21:24 +03:00
|
|
|
# name: proxy
|
2023-03-10 14:19:54 +02:00
|
|
|
external: true
|