-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-compose.yml
27 lines (26 loc) · 1.03 KB
/
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
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
# OR "crypt-server" for local build using documentation in /docs/Docker.md
# build: . # uncomment this to build your own image through Docker Compose
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