Updated Caddy version in dockerfile.
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
MEDIA_PATH=~/Desktop/IMS
|
MEDIA_PATH=~/Desktop/IMS
|
||||||
PORT=8000
|
PORT=8000
|
||||||
IMS_TOKEN=ImEXMS
|
|
||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
- /root/.docker/config.json:/config.json
|
- /root/.docker/config.json:/config.json
|
||||||
command: --interval 3600
|
command: --interval 3600
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy/caddy:latest
|
image: caddy:latest
|
||||||
container_name: caddy-service
|
container_name: caddy-service
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ dotenv.config({
|
|||||||
const RootDirectory = process.env.MEDIA_PATH!.replace("~", os.homedir);
|
const RootDirectory = process.env.MEDIA_PATH!.replace("~", os.homedir);
|
||||||
const JobsFolder = "Jobs";
|
const JobsFolder = "Jobs";
|
||||||
const VendorsFolder = "Vendors";
|
const VendorsFolder = "Vendors";
|
||||||
|
|
||||||
export const FolderPaths = {
|
export const FolderPaths = {
|
||||||
Root: RootDirectory,
|
Root: RootDirectory,
|
||||||
Jobs: path.join(RootDirectory, JobsFolder),
|
Jobs: path.join(RootDirectory, JobsFolder),
|
||||||
@@ -30,4 +31,5 @@ export default function InitServer() {
|
|||||||
logger.info(`Ensuring Vendors media path exists: ${FolderPaths.Vendors}`);
|
logger.info(`Ensuring Vendors media path exists: ${FolderPaths.Vendors}`);
|
||||||
fs.ensureDirSync(FolderPaths.Vendors);
|
fs.ensureDirSync(FolderPaths.Vendors);
|
||||||
logger.info("Folder Paths", FolderPaths);
|
logger.info("Folder Paths", FolderPaths);
|
||||||
|
logger.info("IMS Token set to:", (process.env.IMS_TOKEN || "").trim());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user