mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-16 11:25:09 +01:00
Update docker-compose examples to double volume
This commit is contained in:
parent
d70e8c3ab6
commit
7541be85ff
13 changed files with 65 additions and 36 deletions
|
@ -22,7 +22,8 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -43,4 +44,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -20,7 +20,8 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -35,7 +36,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
|
@ -43,7 +44,8 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -51,4 +53,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -18,7 +18,8 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -28,4 +29,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -16,7 +16,8 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -30,10 +31,11 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -15,7 +15,8 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
env_file:
|
||||
|
@ -25,4 +26,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -13,7 +13,8 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
env_file:
|
||||
|
@ -27,10 +28,11 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -16,7 +16,8 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -28,7 +29,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
depends_on:
|
||||
|
@ -69,7 +70,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
|
@ -20,7 +20,8 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -39,7 +40,8 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -76,7 +78,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
|
@ -20,7 +20,8 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -33,7 +34,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -48,7 +49,8 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -85,7 +87,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
|
@ -16,7 +16,8 @@ services:
|
|||
image: nextcloud:apache
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -61,7 +62,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
|
@ -16,7 +16,8 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
|
@ -28,7 +29,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -70,7 +71,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
|
@ -13,7 +13,8 @@ services:
|
|||
image: nextcloud:apache
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -58,7 +59,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
|
@ -13,7 +13,8 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
env_file:
|
||||
|
@ -25,7 +26,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -67,7 +68,8 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud:
|
||||
nextcloud_html:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
html:
|
||||
|
|
Loading…
Add table
Reference in a new issue