-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force port mapping
- Loading branch information
Showing
5 changed files
with
50 additions
and
20 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
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 |
---|---|---|
@@ -1,17 +1,21 @@ | ||
package main | ||
|
||
type SymfonyJsonProxy struct { | ||
// SymfonyJSONProxy is a representation of Symfony CLI's configuration file | ||
type SymfonyJSONProxy struct { | ||
Tld string `json:"tld"` | ||
Port int `json:"port"` | ||
Domains map[string]string `json:"domains"` | ||
Ports map[string]int `json:"ports"` | ||
} | ||
|
||
// PomdokYamlConfig is a representation of Pomdok's configuration file | ||
type PomdokYamlConfig struct { | ||
Pomdok struct { | ||
Tld string | ||
Projects []struct { | ||
Domain string `yaml:"domain"` | ||
Path string `yaml:"path"` | ||
Port int `yaml:"port"` | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ type appT struct { | |
|
||
var app = appT{ | ||
"pomdok", | ||
"v1.0.0", | ||
"v1.1.0", | ||
} | ||
|
||
func sprintHeader() string { | ||
|
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