forked from onetimesecret/onetimesecret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (35 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
28
29
30
31
32
33
34
35
version: '3.2'
services:
web:
image: nginx:alpine
ports:
- "40000:443"
links:
- onetimesecret
volumes:
- "./docker/nginx.conf.template:/etc/nginx/templates/default.conf.template:cached"
- "./docker/certs:/etc/nginx/certs"
environment:
- SERVER_NAME=example.com.test
onetimesecret:
image: frojd/onetimesecret
ports:
- "3000:3000"
depends_on:
- redis
volumes:
# Example: Override settings
#- type: bind
# source: ${PWD}/docker/onetime/etc/config
# target: /usr/src/app/etc/config
environment:
- ONETIMESECRET_SSL=true
- ONETIMESECRET_HOST=example.com.test:40000
- ONETIMESECRET_SECRET=CHANGEME
- ONETIMESECRET_REDIS_URL=redis://redis:6379/0
- ONETIMESECRET_COLONEL=
redis:
image: redis:3.2
command: redis-server
ports:
- "6379:6379"