Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 58f24fd

Browse files
committed
update deploy structure
1 parent ab1bda3 commit 58f24fd

9 files changed

Lines changed: 191 additions & 4 deletions

File tree

.github/workflows/stage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Create Environment Files
1818
id: Create-Environment-Files
1919
run: |
20-
cp ./.settings/stage/.env ./
21-
cp ./.settings/stage/server.json ./
22-
cp ./.settings/stage/docker-compose.yml ./
23-
cp ./.settings/stage/dockerfile ./
20+
cp ./deploy/stage/.env ./
21+
cp ./deploy/stage/server.json ./
22+
cp ./deploy/stage/docker-compose.yml ./
23+
cp ./deploy/stage/dockerfile ./
2424
2525
- name: Install Dependencies
2626
id: Install-Dependencies

deploy/dev/.env-develop

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
LUCEE_EXTENSIONS=465E1E35-2425-4F4E-8B3FAB638BD7280A;name=H2;version=1.3.172
2+
cfconfig_adminPassword=commandbox
3+
application_host=http://localhost:60152
4+
5+
wheelsdev_host=aura.paiindustries.com
6+
wheelsdev_port=1433
7+
wheelsdev_databasename=devcfwheelsdb
8+
wheelsdev_username=CFWheels_DBRWE
9+
wheelsdev_password=c3e4302bdb8bb00161e7ee77917008e7c7381306613727c2480a80bc0a1f3f597e16039ed4c5b678fa69d9f4d09f69abd2d3c6ef175159fc5f20586563b642f2
10+
wheelsdev_clob=true
11+
wheelsdev_connectionlimit=100
12+
wheelsdev_storage=true
13+
wheelsdev_bundleversion=12.6.3.jre11
14+
15+
wheelsdev_storage=true
16+
sessionStorage=memory
17+
sessionCluster=true
18+
19+
mail_from=noreply@wheels.dev
20+
21+
smtp_host=smtp.postmarkapp.com
22+
smtp_port=587
23+
smtp_username=c714f5aa-99a5-4cae-8321-5ddcad5ba94d
24+
smtp_password=c714f5aa-99a5-4cae-8321-5ddcad5ba94d
25+
smtp_ssl=false
26+
smtp_tls=true

deploy/dev/server.json-develop

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name":"wheelsdev",
3+
"web":{
4+
"host":"0.0.0.0",
5+
"http":{
6+
"enable":true,
7+
"port":"60152"
8+
},
9+
"webroot":"public",
10+
"rewrites":{
11+
"enable":true,
12+
"config":"public/urlrewrite.xml"
13+
}
14+
},
15+
"app":{
16+
"cfengine":"lucee@6"
17+
}
18+
}

deploy/prod/.env-prod

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
LUCEE_EXTENSIONS=465E1E35-2425-4F4E-8B3FAB638BD7280A;name=H2;version=1.3.172
2+
cfconfig_adminPassword=commandbox
3+
application_host=https://www.wheels.dev:60150
4+
5+
wheelsdev_host=aura.paiindustries.com
6+
wheelsdev_port=1433
7+
wheelsdev_databasename=cfwheelsdb
8+
wheelsdev_username=CFWheels_DBRWE
9+
wheelsdev_password=c3e4302bdb8bb00161e7ee77917008e7c7381306613727c2480a80bc0a1f3f597e16039ed4c5b678fa69d9f4d09f69abd2d3c6ef175159fc5f20586563b642f2
10+
wheelsdev_clob=true
11+
wheelsdev_connectionlimit=100
12+
wheelsdev_storage=true
13+
wheelsdev_bundleversion=12.6.3.jre11
14+
15+
wheelsdev_storage=true
16+
sessionStorage=wheels.dev
17+
sessionCluster=true
18+
19+
mail_from=noreply@wheels.dev
20+
21+
smtp_host=smtp.postmarkapp.com
22+
smtp_port=587
23+
smtp_username=630b8f58-de03-4e68-b769-c2274dd03c88
24+
smtp_password=630b8f58-de03-4e68-b769-c2274dd03c88
25+
smtp_ssl=false
26+
smtp_tls=true

deploy/prod/server.json-prod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name":"wheelsdev",
3+
"web":{
4+
"host":"0.0.0.0",
5+
"http":{
6+
"enable":true,
7+
"port":"60150"
8+
},
9+
"webroot":"public",
10+
"rewrites":{
11+
"enable":true,
12+
"config":"public/urlrewrite.xml"
13+
}
14+
},
15+
"app":{
16+
"cfengine":"lucee@6"
17+
}
18+
}

deploy/stage/.env

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
LUCEE_EXTENSIONS=465E1E35-2425-4F4E-8B3FAB638BD7280A;name=H2;version=1.3.172
2+
cfconfig_adminPassword=commandbox
3+
application_host=https://stage.wheels.dev:60151
4+
5+
wheelsdev_host=aura.paiindustries.com
6+
wheelsdev_port=1433
7+
wheelsdev_databasename=devcfwheelsdb
8+
wheelsdev_username=CFWheels_DBRWE
9+
wheelsdev_password=c3e4302bdb8bb00161e7ee77917008e7c7381306613727c2480a80bc0a1f3f597e16039ed4c5b678fa69d9f4d09f69abd2d3c6ef175159fc5f20586563b642f2
10+
wheelsdev_clob=true
11+
wheelsdev_connectionlimit=100
12+
wheelsdev_storage=true
13+
wheelsdev_bundleversion=12.6.3.jre11
14+
15+
wheelsdev_storage=true
16+
sessionStorage=wheels.dev
17+
sessionCluster=true
18+
19+
mail_from=noreply@wheels.dev
20+
21+
smtp_host=smtp.postmarkapp.com
22+
smtp_port=587
23+
smtp_username=630b8f58-de03-4e68-b769-c2274dd03c88
24+
smtp_password=630b8f58-de03-4e68-b769-c2274dd03c88
25+
smtp_ssl=false
26+
smtp_tls=true

deploy/stage/docker-compose.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: '3.8'
2+
3+
services:
4+
wheels-dev:
5+
image: 10.100.10.116:5000/wheels-dev-stage
6+
deploy:
7+
replicas: 3
8+
restart_policy:
9+
condition: on-failure
10+
update_config:
11+
parallelism: 1
12+
delay: 15s
13+
placement:
14+
constraints: []
15+
ports:
16+
- "50151:60151"
17+
environment:
18+
- PORT=60151
19+
- HEALTHCHECK_URI=http://127.0.0.1:60151/
20+
networks:
21+
- wheels-net
22+
volumes:
23+
- shared-images:/app/public/images
24+
- shared-files:/app/public/files
25+
- wheels-data:/data
26+
27+
networks:
28+
wheels-net:
29+
driver: overlay
30+
31+
volumes:
32+
shared-images:
33+
external: true
34+
shared-files:
35+
external: true
36+
wheels-data:

deploy/stage/dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM ortussolutions/commandbox:latest
2+
3+
# Set working directory
4+
WORKDIR /app
5+
6+
#Copy files to working directory
7+
COPY . .
8+
9+
# Expose the port
10+
EXPOSE 60151
11+
ENV PORT 60151
12+
ENV HEALTHCHECK_URI "http://127.0.0.1:60151/"
13+
#ENV ENV_MODE "remote"
14+
15+
#Keep the server from trying to open in a browser
16+
RUN box config set server.defaults.openBrowser=false
17+
18+
#Start the server
19+
CMD ["box", "server", "start", "--console"]

deploy/stage/server.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name":"wheelsdev",
3+
"web":{
4+
"host":"0.0.0.0",
5+
"http":{
6+
"enable":true,
7+
"port":"60151"
8+
},
9+
"webroot":"public",
10+
"rewrites":{
11+
"enable":true,
12+
"config":"public/urlrewrite.xml"
13+
}
14+
},
15+
"app":{
16+
"cfengine":"lucee@6"
17+
}
18+
}

0 commit comments

Comments
 (0)