Merge pull request #639 from nextcloud/fix-examples

Remove app dockerfile
This commit is contained in:
Tilo Spannagel 2019-02-07 22:00:07 +01:00 committed by GitHub
commit 34a9a543e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 21 deletions

View File

@ -1,3 +0,0 @@
FROM nextcloud:apache
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -17,7 +17,7 @@ services:
restart: always
app:
build: ./app
image: nextcloud:apache
restart: always
ports:
- 8080:80
@ -33,7 +33,7 @@ services:
- redis
cron:
build: ./app
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html

View File

@ -1,3 +0,0 @@
FROM nextcloud:fpm-alpine
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -17,7 +17,7 @@ services:
restart: always
app:
build: ./app
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
@ -41,7 +41,7 @@ services:
- app
cron:
build: ./app
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html

View File

@ -1,3 +0,0 @@
FROM nextcloud:apache
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -17,7 +17,7 @@ services:
restart: always
app:
build: ./app
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
@ -37,7 +37,7 @@ services:
- default
cron:
build: ./app
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html

View File

@ -1,3 +0,0 @@
FROM nextcloud:fpm-alpine
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -17,13 +17,13 @@ services:
restart: always
app:
build: ./app
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
@ -46,7 +46,7 @@ services:
- default
cron:
build: ./app
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html