mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-16 11:25:09 +01:00
Make docker-compose backwards compatible
This commit is contained in:
parent
7541be85ff
commit
a93ce9fc40
13 changed files with 36 additions and 36 deletions
|
@ -22,7 +22,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -44,5 +44,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -36,7 +36,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
|
@ -44,7 +44,7 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
|
@ -53,5 +53,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -18,7 +18,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -29,5 +29,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -16,7 +16,7 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -31,11 +31,11 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -15,7 +15,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
|
@ -26,5 +26,5 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
|
@ -28,11 +28,11 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
|
|
|
@ -16,7 +16,7 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -29,7 +29,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
depends_on:
|
||||
|
@ -70,7 +70,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
|
@ -40,7 +40,7 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
|
@ -78,7 +78,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -34,7 +34,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -49,7 +49,7 @@ services:
|
|||
build: ./app
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
|
@ -87,7 +87,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
|
@ -16,7 +16,7 @@ services:
|
|||
image: nextcloud:apache
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
|
@ -62,7 +62,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
|
@ -16,7 +16,7 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
|
@ -29,7 +29,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -71,7 +71,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
image: nextcloud:apache
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
|
@ -59,7 +59,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
image: nextcloud:fpm
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html
|
||||
- nextcloud:/var/www/html
|
||||
- nextcloud_data:/var/nc_data
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
|
@ -26,7 +26,7 @@ services:
|
|||
build: ./web
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_html:/var/www/html:ro
|
||||
- nextcloud:/var/www/html:ro
|
||||
environment:
|
||||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
|
@ -68,7 +68,7 @@ services:
|
|||
|
||||
volumes:
|
||||
db:
|
||||
nextcloud_html:
|
||||
nextcloud:
|
||||
nextcloud_data:
|
||||
certs:
|
||||
vhost.d:
|
||||
|
|
Loading…
Add table
Reference in a new issue