mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05: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:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -44,5 +44,5 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
|
|
|
@ -20,7 +20,7 @@ services:
|
||||||
build: ./app
|
build: ./app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -36,7 +36,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ services:
|
||||||
build: ./app
|
build: ./app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -53,5 +53,5 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
|
|
|
@ -18,7 +18,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -29,5 +29,5 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
|
|
|
@ -16,7 +16,7 @@ services:
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -31,11 +31,11 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
|
@ -26,5 +26,5 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
|
|
|
@ -13,7 +13,7 @@ services:
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
|
@ -28,11 +28,11 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
|
|
|
@ -16,7 +16,7 @@ services:
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -29,7 +29,7 @@ services:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -70,7 +70,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
|
@ -20,7 +20,7 @@ services:
|
||||||
build: ./app
|
build: ./app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
|
@ -40,7 +40,7 @@ services:
|
||||||
build: ./app
|
build: ./app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -78,7 +78,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
|
@ -20,7 +20,7 @@ services:
|
||||||
build: ./app
|
build: ./app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -34,7 +34,7 @@ services:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
@ -49,7 +49,7 @@ services:
|
||||||
build: ./app
|
build: ./app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -87,7 +87,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
|
@ -16,7 +16,7 @@ services:
|
||||||
image: nextcloud:apache
|
image: nextcloud:apache
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
|
@ -62,7 +62,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
|
@ -16,7 +16,7 @@ services:
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
@ -29,7 +29,7 @@ services:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
@ -71,7 +71,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
|
@ -13,7 +13,7 @@ services:
|
||||||
image: nextcloud:apache
|
image: nextcloud:apache
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
|
@ -59,7 +59,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
|
@ -13,7 +13,7 @@ services:
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
- nextcloud_data:/var/nc_data
|
- nextcloud_data:/var/nc_data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
|
@ -26,7 +26,7 @@ services:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_html:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
@ -68,7 +68,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
nextcloud_html:
|
nextcloud:
|
||||||
nextcloud_data:
|
nextcloud_data:
|
||||||
certs:
|
certs:
|
||||||
vhost.d:
|
vhost.d:
|
||||||
|
|
Loading…
Add table
Reference in a new issue