-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
70 lines (65 loc) · 2.05 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3.8'
name: disco
services:
disco:
container_name: disco
image: fargeo/disco
build:
args:
# These are not delivered from the env_file - they're from --build-arg arguments.
ARCHES_TEMPLATING_HOST_DIR: ../arches-templating/
ARCHES_FOR_SCIENCE_HOST_DIR: ../arches-for-science/
ARCHES_CORE_HOST_DIR: ../arches/
context: ..
dockerfile: disco/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
- ./:/web_root/disco
- ${ARCHES_TEMPLATING_HOST_DIR:-../arches-templating/}:/web_root/arches-templating
- ${ARCHES_FOR_SCIENCE_HOST_DIR:-../arches-for-science/}:/web_root/arches-for-science
- $HOME/.aws/:/root/.aws/
- cantaloupe-data-disco:/web_root/disco/disco/uploadedfiles
ports:
- ${HOST_PROJECT_PORT:-8001}:80
- ${HOST_PROJECT_DEBUG_PORT:-5678}:5678
stdin_open: true
env_file:
- ./docker/env_file.env
tty: true
labels:
- traefik.http.routers.my-container.rule=Host(`disco.local`)
- traefik.frontend.passHostHeader=true
cantaloupe_disco:
container_name: cantaloupe-disco
image: uclalibrary/cantaloupe:5.0.3-0
volumes:
- cantaloupe-data-disco:/imageroot
ports:
- 8183:8182
env_file:
- ./docker/env_file.env
disco-webpack:
container_name: disco-webpack
image: fargeo/disco-webpack
build:
context: ..
dockerfile: disco/docker/webpack/Dockerfile
command: run_webpack
volumes:
- ../arches/:/web_root/arches
- ./:/web_root/disco
- ../arches-for-science/:/web_root/arches-for-science
env_file:
- ./docker/webpack/env_file.env
ports:
- 8080:8080
stdin_open: true
tty: true
networks:
default:
external: true
name: arches7-0-dev
volumes:
cantaloupe-data-disco: