forked from GSA/us-digital-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
31 lines (31 loc) · 896 Bytes
/
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
version: '2'
services:
db:
image: mysql:5.6
ports:
- "3306:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'true'
web:
build:
context: .
dockerfile: Dockerfile
args:
# build-time ENV parameters
RAILS_ENV: development
REGISTRY_HOSTNAME: http://spoofedapp.com
REGISTRY_API_HOST: http://spoofedapp.com
depends_on:
- db
entrypoint: ./development.sh
env_file: ./.env
ports:
- "80:80"
environment:
# runtime ENV parameters
RAILS_ENV: development
REGISTRY_RAILS_COOKIE_TOKEN: 8db388d70170c0ec9dedf836b5c8060c1a871b1abc2487e50ee5111be20f5740bc1aad2a2f39fb0dff88bd849db14170b96cf6f70f84cee0526920f1bd4bac25
REGISTRY_HOSTNAME: spoofedapp.com
REGISTRY_API_HOST: http://spoofedapp.com
# For dev or staging, to bypass OMB MAX
# IMPERSONATE_ADMIN: 'true'