summaryrefslogtreecommitdiff
path: root/stacks/codex/compose.yml
blob: 8e17e82027bcd9414f509ea37406ad0e3fc7c786 (plain)
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
name: ${_STACK}

networks:
  net:
    name: ${_NET}
    external: true

volumes:
  data:
    name: ${_DATA_VOLUME}
    external: true

services:
  silverbullet:
    container_name: ${_CONTAINER}
    image: ghcr.io/silverbulletmd/silverbullet
    restart: unless-stopped
    env_file:
      - .env
      - .codex.env
    networks:
      - net
    expose:
      - 3000
    volumes:
      - ${data:-./space/}:/space