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