mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add extensive collection of application blueprints with Docker Compose configurations
This commit is contained in:
36
blueprints/nextcloud-aio/docker-compose.yml
Normal file
36
blueprints/nextcloud-aio/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
services:
|
||||
nextcloud:
|
||||
image: nextcloud:30.0.2
|
||||
restart: always
|
||||
|
||||
ports:
|
||||
- 80
|
||||
volumes:
|
||||
- nextcloud_data:/var/www/html
|
||||
environment:
|
||||
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN}
|
||||
- MYSQL_HOST=nextcloud_db
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_PASSWORD=${MYSQL_SECRET_PASSWORD}
|
||||
- OVERWRITEPROTOCOL=https
|
||||
|
||||
nextcloud_db:
|
||||
image: mariadb
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
- nextcloud_db_data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_SECRET_PASSWORD_ROOT}
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_PASSWORD=${MYSQL_SECRET_PASSWORD}
|
||||
|
||||
volumes:
|
||||
nextcloud_data:
|
||||
nextcloud_db_data:
|
||||
|
||||
networks:
|
||||
dokploy-network:
|
||||
external: true
|
||||
1
blueprints/nextcloud-aio/nextcloud-aio.svg
Normal file
1
blueprints/nextcloud-aio/nextcloud-aio.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="256" height="128" version="1.1" viewBox="0 0 256 128" xmlns="http://www.w3.org/2000/svg"><path d="m128 7c-25.871 0-47.817 17.485-54.713 41.209-5.9795-12.461-18.642-21.209-33.287-21.209-20.304 0-37 16.696-37 37s16.696 37 37 37c14.645 0 27.308-8.7481 33.287-21.209 6.8957 23.724 28.842 41.209 54.713 41.209s47.817-17.485 54.713-41.209c5.9795 12.461 18.642 21.209 33.287 21.209 20.304 0 37-16.696 37-37s-16.696-37-37-37c-14.645 0-27.308 8.7481-33.287 21.209-6.8957-23.724-28.842-41.209-54.713-41.209zm0 22c19.46 0 35 15.54 35 35s-15.54 35-35 35-35-15.54-35-35 15.54-35 35-35zm-88 20c8.4146 0 15 6.5854 15 15s-6.5854 15-15 15-15-6.5854-15-15 6.5854-15 15-15zm176 0c8.4146 0 15 6.5854 15 15s-6.5854 15-15 15-15-6.5854-15-15 6.5854-15 15-15z" color="#000000" fill="#fff" style="-inkscape-stroke:none"/></svg>
|
||||
|
After Width: | Height: | Size: 814 B |
17
blueprints/nextcloud-aio/template.yml
Normal file
17
blueprints/nextcloud-aio/template.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
variables:
|
||||
main_domain: ${randomDomain}
|
||||
db_password: ${password}
|
||||
db_root_password: ${password}
|
||||
|
||||
config:
|
||||
domains:
|
||||
- serviceName: nextcloud
|
||||
port: 80
|
||||
host: ${main_domain}
|
||||
|
||||
env:
|
||||
NEXTCLOUD_DOMAIN: ${main_domain}
|
||||
MYSQL_SECRET_PASSWORD: ${db_password}
|
||||
MYSQL_SECRET_PASSWORD_ROOT: ${db_root_password}
|
||||
|
||||
mounts: []
|
||||
Reference in New Issue
Block a user