-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use custom Dockerfiles instead of mounting files for remote docker #104
- Loading branch information
Showing
16 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
.examples/docker-compose/with-nginx-proxy/apache/app/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM nextcloud:apache | ||
|
||
COPY autoconfig.php /usr/src/nextcloud/config/autoconfig.php | ||
COPY redis.php /usr/src/nextcloud/config/redis.php |
10 changes: 10 additions & 0 deletions
10
.examples/docker-compose/with-nginx-proxy/apache/app/autoconfig.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
$AUTOCONFIG = array( | ||
'directory' => '/var/www/html/data', | ||
'dbtype' => 'mysql', | ||
'dbname' => getenv('MYSQL_DATABASE'), | ||
'dbuser' => getenv('MYSQL_USER'), | ||
'dbpass' => getenv('MYSQL_PASSWORD'), | ||
'dbhost' => 'db', | ||
'dbtableprefix' => '', | ||
); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MYSQL_PASSWORD= | ||
MYSQL_DATABASE=nextcloud | ||
MYSQL_USER=nextcloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
.examples/docker-compose/with-nginx-proxy/apache/proxy/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM jwilder/nginx-proxy:alpine | ||
|
||
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM nextcloud:fpm | ||
|
||
COPY autoconfig.php /usr/src/nextcloud/config/autoconfig.php | ||
COPY redis.php /usr/src/nextcloud/config/redis.php |
10 changes: 10 additions & 0 deletions
10
.examples/docker-compose/with-nginx-proxy/fpm/app/autoconfig.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
$AUTOCONFIG = array( | ||
'directory' => '/var/www/html/data', | ||
'dbtype' => 'mysql', | ||
'dbname' => getenv('MYSQL_DATABASE'), | ||
'dbuser' => getenv('MYSQL_USER'), | ||
'dbpass' => getenv('MYSQL_PASSWORD'), | ||
'dbhost' => 'db', | ||
'dbtableprefix' => '', | ||
); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MYSQL_PASSWORD= | ||
MYSQL_DATABASE=nextcloud | ||
MYSQL_USER=nextcloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
.examples/docker-compose/with-nginx-proxy/fpm/proxy/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM jwilder/nginx-proxy:alpine | ||
|
||
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM nginx | ||
|
||
COPY nginx.conf /etc/nginx/nginx.conf |
File renamed without changes.