forked from wilson212/bf2stats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change (docker): Combine nginx and php to a single image for both `AS…
…P` and `bf2sclone` with env var support for configuration Previous: In <= v2.5.x, `asp` and `bf2sclone` each had separate `nginx` and `php` images. Now: Single `asp` and `bf2sclone` images containing both `nginx` and `php`, with environment variable support, and entrypoint that sets the correct permissions. Benefits: - Easier to deploy / upgrade. No need to separate `asp-nginx` and `asp-php` containers - Environment variable configuration means no more need to mount `config.php` into `asp` and `bf2sclone` containers - Entrypoint script sets permissions on volumes. `init-container` should only need to set permissions for `db` volume. Notable changes: - Add documentation for upgrading docker images to v2.6.x from prior versions - Update `./docs/examples` - Add tests for production builds for examples in `./docs/examples` Closes #132
- Loading branch information
1 parent
3c7cc05
commit fe94cf4
Showing
67 changed files
with
1,234 additions
and
1,441 deletions.
There are no files selected for viewing
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,8 @@ | ||
/.github | ||
/.vscode | ||
/docs | ||
/src/python | ||
/test | ||
/Tools | ||
/docker-compose.*.yml | ||
/docker-compose.yml |
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
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
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 |
---|---|---|
|
@@ -5,4 +5,5 @@ | |
"*.con": "ini", | ||
"*.aspx": "php", | ||
}, | ||
// "editor.trimAutoWhitespace": false | ||
} |
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,31 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Test (dev)", | ||
"type": "shell", | ||
"command": "./test/test.sh dev 1", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "Test (prod1)", | ||
"type": "shell", | ||
"command": "./test/test.sh prod 1", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "Test (prod2)", | ||
"type": "shell", | ||
"command": "./test/test.sh prod 1", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "Test (dns)", | ||
"type": "shell", | ||
"command": "./test/test.sh dns", | ||
"group": "build" | ||
}, | ||
] | ||
} |
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.