forked from Unicon/tool13demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (32 loc) · 4.88 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
version: '3'
services:
db:
image: public.ecr.aws/o9c0t3w1/postgres:13
environment:
- POSTGRES_USER=lti13
- POSTGRES_PASSWORD=lti13
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lti13"]
interval: 5s
timeout: 5s
retries: 5
lti-service:
image: lti-service:travis-build-${TRAVIS_BUILD_NUMBER}
build:
context: ./
dockerfile: Dockerfile
environment:
- SERVER_PORT=8080
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/lti13
- SPRING_DATASOURCE_USERNAME=lti13
- SPRING_DATASOURCE_PASSWORD=lti13
- AWS_REGION=us-west-2
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- oidc.publickey=-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA7BatQOcmS8yV1IBgVaMF\ntFQz2/8284v/6V/B79BrI/HoOSfqlWLAbIt61xoGuu42cQqlm8/k/3s9txTKB9Hk\nLK/1JmITnI22zgVAV54MQo6QSIkK9UTMru9puG/S9EHtodObKkYdtenUrwLaCmAJ\ndGJekx91LKpVs43VWJ9NdrfIZkGtvbyqiNHNpu201SVFC8QAwpLXIGXa1kJSGZCk\ncWbvXJ+X9ubhHbbNYiTpQ2A5xrRV73pdY3/ny5YRdkmtk+17P3uH08yCq7YTsjq8\nQ8ThgMU2supiY3k0cp6+NWB//RmSx1fKrvpHGf5YfN1iM5Ncs7jMIjx4s3ycxhEq\nG1VpT/Ul0A1xTlsdAwFIsOQ98Uxu52N14vshIkAHa7LKFv/rtXmrNtF5shav4tuY\nRBWL0ZEC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