2019-05-22 15:22:40 +00:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
2019-05-28 01:16:50 +00:00
|
|
|
server:
|
2019-08-08 04:46:51 +00:00
|
|
|
image: selfpass:latest
|
2019-05-29 15:02:04 +00:00
|
|
|
restart: on-failure
|
2019-05-28 01:16:50 +00:00
|
|
|
entrypoint:
|
|
|
|
- server
|
|
|
|
- -v
|
2019-05-29 15:02:04 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2019-07-23 00:24:00 +00:00
|
|
|
volumes:
|
|
|
|
- "./data:/home/selfpass/data"
|
2019-08-08 04:46:51 +00:00
|
|
|
secrets:
|
|
|
|
- ca
|
|
|
|
- cert
|
|
|
|
- key
|
|
|
|
secrets:
|
|
|
|
ca:
|
|
|
|
file: "./certs/ca.pem"
|
|
|
|
cert:
|
|
|
|
file: "./certs/server.pem"
|
|
|
|
key:
|
|
|
|
file: "./certs/server-key.pem"
|