forked from ministryofjustice/fb-editor
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.unit-tests.yml
30 lines (28 loc) · 2.5 KB
/
docker-compose.unit-tests.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
version: '3.4'
services:
editor-db-tests-ci:
image: postgres:12.4-alpine
restart: always
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
POSTGRES_DB: editor_local
editor-app-tests-ci:
build:
context: .
dockerfile: ./docker/web/Dockerfile
args:
BUNDLE_ARGS: ''
tty: true
stdin_open: true
ports:
- 9090:3000
environment:
DATABASE_URL: "postgres://postgres:password@editor-db-tests-ci/editor_local"
RAILS_LOG_TO_STDOUT: 'true'
ENCODED_PRIVATE_KEY: "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEA+OtquVq4iSKV6xTibO3snW70AK0/ILG/vDt8KNCQNf/411D7\nh+F3Kpw+vNANfHdJTfJUV4/dYz5HHsAxAaG8qyHiNycy9cNsHoRCold5Zp8iEBkS\ncXOSh32qKD6e0brwJvpyv0QcHWfKZz46PBm6TUxrC6z9nwiePQX/sryFhpzX8sL7\nD09Qwc1c/42PHhLkxvcCioHhj33zT+YOCNvI5RyYPG6lKvn1QSKvSJ+zoAnwP7R7\nL7c/QixADzleAq7HNEhE8p0T0OVegWa85Ox7fK9j/vZw9bFYOK1CVNQcf+VGh2Fa\ngs/7D9T0nrhQ3xKxpKvnfzVoqga38V7gWZyt8QIDAQABAoIBAQDtpYyh49w0iQGK\ni8jU6J4zfB+WmdCgPTNp2XzjVqOn+ncv0lAiXX6w/rTi/NszTot80HP3mRFrU6UA\n1cqz3R9MXzAjKdh8TJPn2qvnZA4yjJEvv1AdYpKtqqsOeyKT556qCAgPVU5mQJY7\n1WwxvvpgHCpC3mjRMaApcJW7pkLwzOFTiP3B5EYMfPMGJfqPsQYFhRXlft0fC77Y\nADosRuU5IFQbQHENo22PLD+BJ2vY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
SECRET_KEY_BASE: "2de1e1ddc4dc9eebb238d35d6b131cd76c481adb6371ded658fa259411379431391e9431e6257d1ea9dccb80df5d693904b6a4ed3bec7984647fd79c86bf4db5"
depends_on:
- editor-db-tests-ci