forked from hedgedoc/hedgedoc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (38 loc) · 1.05 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
36
37
38
services:
app:
image: betagouv-hedgedoc
build: .
environment:
- CMD_DB_URL=postgres://hedgedoc:password@db:5432/hedgedoc
- CMD_DOMAIN=localhost
- CMD_URL_ADDPORT=true
- CMD_AGENT_CONNECT_PROVIDER_NAME=Agent Connect
- CMD_AGENT_CONNECT_CLIENTID=clientIdForDevOnly
- CMD_AGENT_CONNECT_CLIENTSECRET=clientSecretForDevOnly
- CMD_AGENT_CONNECT_BASE_URL=https://fca.integ01.dev-agentconnect.fr/api/v2
- CMD_AGENT_CONNECT_USER_INFO_SIGNED_RESPONSE_ALG=RS256
- CMD_AGENT_CONNECT_SCOPES=openid given_name usual_name email
- CMD_AGENT_CONNECT_ACR_VALUES=eidas1
ports:
- "3000:3000"
depends_on:
- db
volumes:
- .:/app
- /app/node_modules/
webpack:
image: betagouv-hedgedoc
command: 'npm run dev'
volumes:
- .:/app
- /app/node_modules/
db:
image: postgres:13
environment:
- POSTGRES_USER=hedgedoc
- POSTGRES_PASSWORD=password
- POSTGRES_DB=hedgedoc
volumes:
- database:/var/lib/postgresql/data
volumes:
database: