docker-compose.yaml (690B)
1 services:
2
3 # ktistec: https://github.com/toddsundsted/ktistec
4 ktistec:
5
6 # Use my pre-built images: https://hub.docker.com/r/jv00/ktistec
7 image: jv00/ktistec:latest
8 # Or build it yourself (it is really easy and only takes a few minutes!)
9 #build: ./ktistec/
10
11 # container name
12 container_name: ktistec
13
14 # always restart upon failures
15 restart: unless-stopped
16
17 # bind to local port 3000
18 ports:
19 - 3000:3000
20
21 # mount volumes for db and uploads so they survive restarts
22 # mount volume for backups (optional)
23 volumes:
24 - /var/www/ktistec/db:/db
25 - /var/www/ktistec/uploads:/uploads
26 - /var/www/ktistec/backups:/backups