-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
99 lines (93 loc) · 2.66 KB
/
Copy pathdocker-compose.yml
File metadata and controls
99 lines (93 loc) · 2.66 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: bcap
services:
bcap:
container_name: bcap
# Set this to the appropriate platform in the .env if required
# eg linux/arm64, linux/amd64
platform: ${DOCKER_HOST_PLATFORM:-linux}
image: bcgov/bcap
build:
context: ..
dockerfile: nr-bcap/Dockerfile
args:
# Set this to true in the .env or in the host env if debugging with PyCharm
INSTALL_PYCHARM_DEBUG: ${INSTALL_PYCHARM_DEBUG:-false}
command: run_arches
volumes:
- ../arches/:/web_root/arches
- ./:/web_root/bcap
- ../bcgov-arches-common/:/web_root/bcgov-arches-common
- ../arches-component-lab/:/web_root/arches-component-lab
- ../arches-controlled-lists/:/web_root/arches-controlled-lists
- ../arches-querysets/:/web_root/arches-querysets
- ../arches-workflow-stepper/:/web_root/arches-workflow-stepper
- ../arches-zod-validation/:/web_root/arches-zod-validation
env_file:
- ./.env
- ./docker/docker.dev.env
ports:
- 5690:5678
# - 82:80 # moved to bcap-proxy
- 446:443
- 5175:5175 # Vite dev server (optional direct access)
stdin_open: true
tty: true
bcap-proxy:
container_name: bcap-proxy
image: nginx:1.25-alpine
depends_on:
- bcap
ports:
- "82:80" # expose the proxy on host:82
volumes:
- ./docker/nginx/dev.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
bcap-pg_tileserv:
container_name: bcap-pg_tileserv
hostname: bcap-pg_tileserv
image: pramsey/pg_tileserv:latest
env_file:
- ./docker/pg_tileserv/pg_tileserv.env
ports:
- "7802:7800"
stdin_open: true
tty: true
bcap-pg_featureserv:
container_name: bcap-pg_featureserv
hostname: bcap-pg_featureserv
image: pramsey/pg_featureserv:latest
env_file:
- ./docker/pg_featureserv/pg_featureserv.env
ports:
- "9002:9000"
stdin_open: true
tty: true
bcap-jupyter:
container_name: bcap-jupyter
image: bcgov/bcap-jupyter # reuse the same image
build:
context: ..
dockerfile: nr-bcap/Dockerfile
target: jupyter
volumes:
- ../arches/:/web_root/arches
- ./:/web_root/bcap
- ../bcgov-arches-common/:/web_root/bcgov-arches-common
- ../arches-component-lab/:/web_root/arches-component-lab
- ../arches-querysets/:/web_root/arches-querysets
env_file:
- ./.env
- ./docker/docker.dev.env
ports:
- "8890:8888"
depends_on:
- bcap
stdin_open: true
tty: true
networks:
default:
external: true
name: arches7-5-2-dev
volumes:
arches-log-bcap:
arches-static-bcap: