-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (50 loc) · 1.72 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.8'
services:
arches-rdm-example-project:
container_name: arches-rdm-example-project
image: fargeo/arches_rdm_example_project
build:
args:
# These are not delivered from the env_file - they're from --build-arg arguments.
ARCHES_RDM_HOST_DIR: ../arches-rdm/
ARCHES_CORE_HOST_DIR: ../arches/
context: ..
dockerfile: arches_rdm_example_project/Dockerfile
command: run_arches
volumes:
# To change these variables, modify/add the .env file prior to launch - NOT env_file.env
- ${ARCHES_CORE_HOST_DIR:-../arches/}:/web_root/arches
- ${ARCHES_RDM_HOST_DIR:-../arches-rdm/}:/web_root/arches-rdm
- ./:/web_root/arches_rdm_example_project
- $HOME/.aws/:/root/.aws/
ports:
- ${HOST_PROJECT_PORT:-8029}:80
- ${HOST_PROJECT_DEBUG_PORT:-5688}:5678
stdin_open: true
env_file:
- ./docker/env_file.env
tty: true
labels:
- traefik.http.routers.my-container.rule=Host(`arches_rdm_example_project.local`)
- traefik.frontend.passHostHeader=true
arches-rdm-example-project-webpack:
container_name: arches-rdm-example-project-webpack
image: fargeo/arches_rdm_example_project-webpack
build:
context: ..
dockerfile: arches_rdm_example_project/docker/webpack/Dockerfile
command: run_webpack
volumes:
- ../arches/:/web_root/arches
- ./:/web_root/arches_rdm_example_project
- ../arches-rdm/:/web_root/arches-rdm
env_file:
- ./docker/webpack/env_file.env
# ports:
# - 8080:8080
stdin_open: true
tty: true
networks:
default:
external: true
name: arches7-0-dev