-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.dev.yml
40 lines (34 loc) · 1.01 KB
/
docker-compose.dev.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
version: "3.7"
services:
nginx:
build:
target: nginx_development
context: .
dockerfile: Dockerfile
args:
BUILD_TYPE: advanced # advanced or basic
# basic is without hasura and keycloak
depends_on:
- razzle
environment:
VIRTUAL_HOST: ${VIRTUAL_HOST:-localhost}
razzle:
build:
target: razzle_development
context: .
dockerfile: Dockerfile
environment:
PUBLIC_HOST: ${VIRTUAL_HOST:-localhost}
PUBLIC_PORT: ${PUBLIC_PORT:-}
PUBLIC_SCHEME: ${PUBLIC_SCHEME:-https}
RAZZLE_DEV: "true"
KEYCLOAK_CLIENT_URL: ${PUBLIC_SCHEME:-https}://${VIRTUAL_HOST:-localhost}/auth
KEYCLOAK_SERVER_URL: http://keycloak/auth
KEYCLOAK_REALM: razzle
KEYCLOAK_CLIENT_ID: "razzle"
volumes:
- ./razzle/src:/code/src
- ./razzle/public:/code/public
- ./razzle/razzle.config.js:/code/razzle.config.js
# - ./razzle/.babelrc:/code/.babelrc
# - ./razzle/.eslintrc.js:/code/.eslintrc.js