Added expose port for applications

This commit is contained in:
Aaron Styles
2022-04-08 17:12:01 +10:00
parent ca705bbf89
commit 1bd33fea98
12 changed files with 95 additions and 4 deletions

View File

@@ -210,6 +210,7 @@ export async function configureApplication({
name,
fqdn,
port,
exposePort,
installCommand,
buildCommand,
startCommand,
@@ -226,6 +227,7 @@ export async function configureApplication({
buildPack,
fqdn,
port,
exposePort,
installCommand,
buildCommand,
startCommand,

View File

@@ -38,6 +38,7 @@ export default async function (job) {
build_id: buildId,
configHash,
port,
exposePort,
installCommand,
buildCommand,
startCommand,
@@ -143,6 +144,7 @@ export default async function (job) {
JSON.stringify({
buildPack,
port,
exposePort,
installCommand,
buildCommand,
startCommand,
@@ -284,6 +286,7 @@ export default async function (job) {
env_file: envFound ? [`${workdir}/.env`] : [],
networks: [docker.network],
labels: labels,
ports: exposePort ? [`${exposePort}:${port}`] : [],
depends_on: [],
restart: 'always'
}