-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (31 loc) · 990 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
32
33
version: '3.7'
services:
heimdall-proxy:
build:
dockerfile: ${HEIMDALL_PATH:-.}/docker/nginx/Dockerfile
context: ${HEIMDALL_PATH:-.}
target: dev
ports:
- 127.0.0.1:${HEIMDALL_NGINX_PORT:-80}:80
volumes:
- ${DOCKER_SOCKET_PATH:-/var/run/docker.sock}:/var/run/docker.sock
environment:
APP_CONTAINER: heimdall-node
DOCKER_BACKEND: "unix:/var/run/docker.sock"
heimdall-node:
image: heimdall-node:latest
build:
dockerfile: Dockerfile
context: ${HEIMDALL_PATH:-.}/docker/node
target: dev
volumes:
- ${HEIMDALL_PATH:-./}:/srv/heimdall/current:cached
expose:
- 1337
environment:
UID: "${USER_UID?-Please export your UID in env var USER_UID}"
GID: "${USER_GID?-Please export your GID in env var USER_GID}"
APP_MODE: dev
APP_DOMAIN: localhost
APP_PORT: ${HEIMDALL_NGINX_PORT:-80}
DOCKER_API_URL: "http://localhost:${HEIMDALL_NGINX_PORT:-80}/docker/"