blob: 49940667dc8fa74f24eb550465bd02fa536f0139 (
plain) (
tree)
|
|
version: "3.7"
services:
acid:
build: "acid"
restart: "always"
volumes:
- "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"
# In anticipation of coexisting with multiple other web services, DMT is by
# default setup to interop with nginxproxy (proxy-docker). At minimum,
# specify your hostname below and add nginxproxy to ACID. Otherwise add
# port exposure here.
networks:
- "nginx-proxy-network"
environment:
VIRTUAL_HOST: "YOUR-DOMAIN.example"
LETSENCRYPT_HOST: "YOUR-DOMAIN.example"
volumes:
data:
# An explicit name is given so that dynamic service replacement still uses
# a consistent volume.
name: "cychedelic_data"
networks:
nginx-proxy-network:
external: true
|