-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.e2e.yml
69 lines (69 loc) · 1.94 KB
/
docker-compose.e2e.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.8'
services:
jetstream:
build:
context: .
dockerfile: ./Dockerfile.e2e
depends_on:
- db
- db_seed
ipc: host
init: true
environment:
NODE_ENV: production
ENVIRONMENT: production
JETSTREAM_POSTGRES_DBURI: postgres://postgres:postgres@postgres:5432/postgres
JETSTREAM_SESSION_SECRET: '${JETSTREAM_SESSION_SECRET}'
JETSTREAM_CLIENT_URL: http://localhost:3333/app
JETSTREAM_SERVER_DOMAIN: localhost:3333
JETSTREAM_SERVER_URL: http://localhost:3333
EXAMPLE_USER_OVERRIDE: 'true'
AUTH0_DOMAIN: '${AUTH0_DOMAIN}'
AUTH0_M2M_DOMAIN: '${AUTH0_M2M_DOMAIN}'
AUTH0_CLIENT_ID: '${AUTH0_CLIENT_ID}'
AUTH0_MGMT_CLIENT_ID: '${AUTH0_MGMT_CLIENT_ID}'
AUTH0_MGMT_CLIENT_SECRET: '${AUTH0_MGMT_CLIENT_SECRET}'
AUTH0_CLIENT_SECRET: '${AUTH0_CLIENT_SECRET}'
SFDC_API_VERSION: '${SFDC_API_VERSION}'
SFDC_CONSUMER_SECRET: '${SFDC_CONSUMER_SECRET}'
SFDC_CONSUMER_KEY: '${SFDC_CONSUMER_KEY}'
SFDC_CALLBACK_URL: '${SFDC_CALLBACK_URL}'
NX_PUBLIC_ROLLBAR_KEY: '${NX_PUBLIC_ROLLBAR_KEY}'
NX_PUBLIC_AMPLITUDE_KEY: '${NX_PUBLIC_AMPLITUDE_KEY}'
NX_PUBLIC_AUTH_AUDIENCE: '${NX_PUBLIC_AUTH_AUDIENCE}'
ports:
- '3333:3333'
- '9229:9229'
links:
- db
e2e:
build:
context: .
dockerfile: ./Dockerfile.e2e
depends_on:
- jetstream
ipc: host
db:
image: postgres:14.1-alpine
restart: always
hostname: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- '5432:5432'
volumes:
- db:/var/lib/postgresql/data
db_seed:
build:
context: .
dockerfile: ./Dockerfile.db-migration
depends_on:
- db
environment:
NODE_ENV: production
ENVIRONMENT: production
JETSTREAM_POSTGRES_DBURI: postgres://postgres:postgres@postgres:5432/postgres
volumes:
db:
driver: local