forked from privacyidea/docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
41 lines (37 loc) · 965 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.7"
services:
privacyidea:
image: privacyidea:dev
build:
context: .
depends_on:
- mssql
ports:
- 5000:5000
volumes:
- pidata:/home/pi/etc/privacyidea
environment:
ADMIN_ACCOUNT: [email protected]
ADMIN_PASSWORD: admin
DB_HOSTNAME: mssql:1433
DB_USER: sa
DB_PASSWORD: Password!23
DB_DATABASE: pi
# This is used to encrypt the auth_token
SECRET_KEY: 'T0p S3Cret!'
# This is used to encrypt the admin passwords
PI_PEPPER: 'S3Cret'
PI_UI_DEACTIVATED: 'False'
# https://hub.docker.com/_/microsoft-mssql-server
mssql:
image: mcr.microsoft.com/mssql/server:2017-CU14
volumes:
- mssqldata:/var/opt/mssql
environment:
ACCEPT_EULA: 'Y'
SA_USER: sa
SA_PASSWORD: Password!23
MSSQL_PID: Developer # Could be also "Express", "Standard", "Enterprise" and "EnterpriseCore"
volumes:
mssqldata:
pidata: