-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5d0ee9
commit ee6dc6a
Showing
99 changed files
with
5,456 additions
and
0 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,11 @@ | ||
FROM lucee/lucee:6.1.0.175-BETA | ||
|
||
# Provide test page by creating the directory and copying files | ||
RUN mkdir -p /var/www | ||
COPY www/ /var/www/ | ||
|
||
# how to build it | ||
# docker build -t lucee-basic . | ||
|
||
# how to run it (provides port for nginx and tomcat (optional); Lucee admin password) | ||
# docker run -d -p 8054:80 -p 8854:8888 -e LUCEE_ADMIN_PASSWORD=qwerty lucee-basic |
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,13 @@ | ||
services: | ||
lucee: | ||
image: lucee-basic:latest | ||
environment: | ||
- LUCEE_ADMIN_PASSWORD=qwerty | ||
volumes: | ||
- "./www:/var/www" | ||
ports: | ||
- "8854:8888" # tomcat | ||
- "8054:80" # nginx | ||
|
||
# how to run it | ||
# docker-compose up -d |
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,28 @@ | ||
# Simple Lucee Docker Setup | ||
|
||
This repository contains configurations to set up a basic Lucee server using Docker and Docker Compose. | ||
|
||
## Files | ||
|
||
- `Dockerfile`: Defines the Docker image for the Lucee server. | ||
- `docker-compose.yml`: Defines the services and configurations to run the Lucee server build using Docker Compose. | ||
|
||
## Dockerfile | ||
|
||
The `Dockerfile` uses the `lucee/lucee:6.1.0.175-BETA` image and sets up a basic Lucee server with some pages. It includes instructions to create the necessary directory structure and copy the website files into the container. | ||
|
||
### How to Build | ||
|
||
To build the Docker image defined by the `Dockerfile`, navigate to the directory containing the file and execute this command `docker build -t lucee-basic .`. | ||
|
||
### How to Run | ||
|
||
To run the Docker container created from the image, use this Docker's run command `docker run -d -p 8054:80 -p 8854:8888 -e LUCEE_ADMIN_PASSWORD=qwerty lucee-basic`. The container will expose ports for Nginx and Tomcat, and you can set the Lucee admin password through environment variables. You can also start it with `docker compose` (see below). | ||
|
||
## docker-compose.yml | ||
|
||
The `docker-compose.yml` file defines a service for running the Lucee server created with `Dockerfile`. It specifies the image to use, environment variables, volume mappings, and port configurations. This is useful to map an external drive you can access and modify. | ||
|
||
### How to Run | ||
|
||
To run the services defined in the `docker-compose.yml` file, navigate to the directory containing the file and use this Docker Compose's up command `docker-compose up -d`. This will start the services in detached mode, exposing the necessary ports and setting the Lucee admin password as specified. |
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,4 @@ | ||
component { | ||
|
||
this.Name = "Lucee"; | ||
} |
15 changes: 15 additions & 0 deletions
15
examples/docker/basic/www/assets/css/core/_ed07b761.core.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
input[type="checkbox"] + label.checked:before { | ||
background-position: -162px -68px; | ||
content: ","; /* IE8 Fix, force repaint of before */ | ||
} | ||
|
||
input[type="radio"] + label.checked:before { | ||
background-position: -162px -96px; | ||
content: ","; /* IE8 Fix, force repaint of before */ | ||
} | ||
|
||
input[type="radio"] + label.checked:before { | ||
background-position: -162px -96px; | ||
content: ","; /* IE8 Fix, force repaint of before */ | ||
} | ||
|
||
input[type="checkbox"] + label, | ||
input[type="radio"] + label { | ||
max-width: none; | ||
padding-left: 25px !important; | ||
width: 100%; | ||
width: auto; | ||
} | ||
|
||
.form-control, | ||
input[type="email"], | ||
input[type="number"], | ||
input[type="password"], | ||
input[type="tel"], | ||
input[type="url"], | ||
input[type="text"], | ||
textarea { | ||
padding-top: 13px; | ||
} | ||
|
||
select.form-control { | ||
padding-top: 12px; | ||
padding-bottom: 11px; | ||
height: auto; | ||
} | ||
|
||
.announcement-ticker-wrapper .announcement-ticker .announcement { | ||
min-height: 0; | ||
} | ||
|
||
.search-form .search-query { | ||
padding-top: 10px; | ||
} | ||
|
||
.supplier-list li.third-child, | ||
.featured-articles .article.third-child { | ||
clear: left !important; | ||
} | ||
|
||
.royalSlider .rsNav .rsNavItem { | ||
min-height: 83px; | ||
} |
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,48 @@ | ||
|
||
pre.json-display { | ||
background-color: #2e3b4e; | ||
color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
overflow-x: auto; | ||
overflow-y: auto; | ||
line-height: 1.5; | ||
white-space: pre-wrap; /* Allows the JSON to wrap within the container */ | ||
width: 600px; /* Fixed width */ | ||
height: 400px; /* Fixed height */ | ||
position: relative; | ||
} | ||
|
||
.key { | ||
color: #d19a66; /* Orange color for keys */ | ||
} | ||
|
||
.string { | ||
color: #98c379; /* Green color for strings */ | ||
} | ||
|
||
.number { | ||
color: #e5c07b; /* Yellow color for numbers */ | ||
} | ||
|
||
.boolean { | ||
color: #56b6c2; /* Blue color for booleans */ | ||
} | ||
|
||
.null { | ||
color: #c678dd; /* Purple color for null */ | ||
} | ||
|
||
.copy-button { | ||
background-color: #5999b2; | ||
color: #fff; | ||
border: none; | ||
padding: 10px 20px; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
margin-top: 10px; | ||
} | ||
|
||
.copy-button:hover { | ||
background-color: #417a8a; | ||
} |
10 changes: 10 additions & 0 deletions
10
examples/docker/basic/www/assets/css/lib/bootstrap.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
examples/docker/basic/www/assets/js/core/_38444bee.core.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.