-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 1.01 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
39
40
# Copyright (c) 2021 Cisco Systems, Inc. and its affiliates
# All rights reserved.
# Use of this source code is governed by a BSD 3-Clause License
# that can be found in the LICENSE file.
services:
transmitter:
build:
context: ./transmitter
dockerfile: Dockerfile
ports:
- "443:443"
volumes:
- ./transmitter:/usr/src/app
- keys-volume:/usr/keys
environment:
- FLASK_ENV=development
# Path to our JWKS file
- JWKS_PATH=/usr/keys/jwks.json
# The key ID of the JSON Web Key Set that is currently in use
# update this if we want to rotate keys
- JWK_KEY_ID=transmitter-ES256-001
receiver:
depends_on:
- transmitter
build:
context: ./receiver
dockerfile: Dockerfile
ports:
- "5003:5003"
volumes:
- ./receiver:/usr/src/app
environment:
- CONFIG_FILENAME=config.cfg
- FLASK_ENV=development
volumes:
# we will store our JWKS file here so that it is persistent between builds
keys-volume: