summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: 49940667dc8fa74f24eb550465bd02fa536f0139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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