forked from grahamgilbert/Crypt-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (24 loc) · 827 Bytes
/
docker-compose.yml
File metadata and controls
25 lines (24 loc) · 827 Bytes
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
version: '3'
services:
caddy:
image: "wemakeservices/caddy-docker:latest"
volumes:
- ./docker/Caddyfile:/etc/Caddyfile # to mount custom Caddyfile
ports:
- "80:80"
# - "443:443" # uncomment this for https. Make sure you edit the Caddyfile above to reflect your hostname
depends_on:
- crypt
restart: always
crypt:
image: "macadmins/crypt-server"
# build: . # uncomment this to build your own image and comment out the above
environment:
- FIELD_ENCRYPTION_KEY=jKAv1Sde8m6jCYFnmps0iXkUfAilweNVjbvoebBrDwg= # please change this
- ADMIN_PASS=password
- DEBUG=false
ports:
- "8000:8000"
volumes:
- ${PWD}/crypt.db:/home/app/crypt/crypt.db # This will do a local database. For production you should use postgresql
restart: always