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 restart: always
app: app:
build: ./app image: nextcloud:apache
restart: always restart: always
ports: ports:
- 8080:80 - 8080:80
@ -33,7 +33,7 @@ services:
- redis - redis
cron: cron:
build: ./app image: nextcloud:apache
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - 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 restart: always
app: app:
build: ./app image: nextcloud:fpm-alpine
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - nextcloud:/var/www/html
@ -41,7 +41,7 @@ services:
- app - app
cron: cron:
build: ./app image: nextcloud:fpm-alpine
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - 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 restart: always
app: app:
build: ./app image: nextcloud:apache
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - nextcloud:/var/www/html
@ -37,7 +37,7 @@ services:
- default - default
cron: cron:
build: ./app image: nextcloud:apache
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - 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 restart: always
app: app:
build: ./app image: nextcloud:fpm-alpine
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - nextcloud:/var/www/html
environment: environment:
- MYSQL_HOST=db - MYSQL_HOST=db
- REDIS_HOST=redis - REDIS_HOST=redis
env_file: env_file:
- db.env - db.env
depends_on: depends_on:
@ -46,7 +46,7 @@ services:
- default - default
cron: cron:
build: ./app image: nextcloud:fpm-alpine
restart: always restart: always
volumes: volumes:
- nextcloud:/var/www/html - nextcloud:/var/www/html