forked from sarboc/easi-app-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.circleci.yml
More file actions
32 lines (32 loc) · 933 Bytes
/
docker-compose.circleci.yml
File metadata and controls
32 lines (32 loc) · 933 Bytes
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
---
version: '3.7'
services:
db_migrate:
image: '${AWS_ACCOUNT_ID}.dkr.ecr.us-west-2.amazonaws.com/easi-db-migrate:${CIRCLE_SHA1}'
easi:
image: '${AWS_ACCOUNT_ID}.dkr.ecr.us-west-2.amazonaws.com/easi-backend:${CIRCLE_SHA1}'
environment:
- EMAIL_TEMPLATE_DIR=/easi/templates
- SERVER_CERT
- SERVER_KEY
entrypoint: ['/easi/easi', 'serve']
easi_client:
build:
context: .
dockerfile: Dockerfile.client_circleci
environment:
- CI=true #https://github.com/facebook/create-react-app/issues/8688
entrypoint: ['serve', '-s', '-l', '3000']
cypress:
build:
context: .
dockerfile: Dockerfile.cypress
image: easi-cypress:latest
environment:
- OKTA_TEST_USERNAME
- OKTA_TEST_PASSWORD
- OKTA_TEST_SECRET
- REACT_APP_API_ADDRESS=http://easi:8080/api/v1
network_mode: 'service:easi_client'
depends_on:
- easi_client