-
-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#140: Add helper script loading framework
- Loading branch information
Showing
6 changed files
with
112 additions
and
4 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,41 @@ | ||
# The name of the app | ||
name: mysql-import | ||
|
||
# Give me http://mysql-import.lndo.site and https://mysql-import.lndo.site | ||
proxy: | ||
appserver: | ||
- mysql-import.lndo.site | ||
|
||
# Set up my services | ||
services: | ||
|
||
# Set up a basic webserver running the latest nginx with ssl turned on | ||
appserver: | ||
type: nginx | ||
ssl: true | ||
webroot: www | ||
|
||
# Spin up a mariadb container called "database" | ||
# NOTE: "database" is arbitrary, you could just as well call this "db" or "kanye" | ||
db: | ||
|
||
# Use the latest version of mysql | ||
type: mysql | ||
|
||
# Optionally forward out our port so we can access it at `localhost:someport`. | ||
# This port will change every time you restart this app | ||
# | ||
# You can also set this to a static port you want to use `portforward:3311`. | ||
# You will need to make sure the port is open and avialable | ||
portforward: true | ||
|
||
# Optionally change the default db credentials | ||
# creds: | ||
# user: mysql | ||
# password: mysql | ||
# database: mysql | ||
|
||
# Optionally load in all the mysql config files in the config directory | ||
# This is relative to the app root | ||
# config: | ||
# confd: config |
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,21 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Error</title> | ||
<style> | ||
body { | ||
width: 35em; | ||
margin: 0 auto; | ||
font-family: Tahoma, Verdana, Arial, sans-serif; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>An error occurred.</h1> | ||
<p>Sorry, the page you are looking for is currently unavailable.<br/> | ||
Please try again later.</p> | ||
<p>If you are the system administrator of this resource then you should check | ||
the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> | ||
<p><em>Faithfully yours, nginx.</em></p> | ||
</body> | ||
</html> |
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,6 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<title>ROLLING WITH THE HOMIES</title> | ||
<h1>HOLLA!!! MySQL in da house.</h1> | ||
<h2>and da GARAGE!!!</h2> | ||
</html> |
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,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
echo thing |
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