forked from grahamgilbert/Crypt-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
27 lines (26 loc) · 997 Bytes
/
docker-compose.yml
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
version: "3"
services:
# Uncomment here if you want to use Caddy
# 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
- ${PWD}/fvserver/settings.py:/home/app/crypt/fvserver/settings.py # Load in your own settings file
restart: always