summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-10-27 21:25:42 -0400
committerMalfurious <m@lfurio.us>2023-11-15 23:11:08 -0500
commit79bf10217325dcad4a974aa2c34207f64863f96d (patch)
tree3d782b89eb88d0c3133d5e6fe9dd8af8b151ad1c /docker-compose.yml
parent906a87dd480c490299d1788c6ce11b81e977acbf (diff)
downloadcychedelic-79bf10217325dcad4a974aa2c34207f64863f96d.tar.gz
cychedelic-79bf10217325dcad4a974aa2c34207f64863f96d.zip
dmt: Add service container
DMT (Display for Monitoring log Text) will be the HTTP monitoring interface for cychedelic. We mount the system data as readonly for this purpose. The Dockerfile is largely based on that of ACID for the moment, as I anticipate the same underlying packages. Also, the web service entry is written to be intended for use with the nginx-proxy reverse proxy. CGD is an extremely simple daemon used for serving a CGI script over HTTP. It is available as Public Domain / MIT code. DMT's entrypoint will be implemented as a CGI shell script. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index ea05646..f51b868 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,6 +8,22 @@ services:
- "data:/data"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
+ dmt:
+ build: "dmt"
+ restart: "always"
+ volumes:
+ - "data:/data:ro"
+ - "/var/run/docker.sock:/var/run/docker.sock:ro"
+ networks:
+ - "nginx-proxy-network"
+ environment:
+ VIRTUAL_HOST: "YOUR-DOMAIN.example"
+ LETSENCRYPT_HOST: "YOUR-DOMAIN.example"
+
volumes:
data:
name: "cychedelic_data"
+
+networks:
+ nginx-proxy-network:
+ external: true