-
Notifications
You must be signed in to change notification settings - Fork 9
/
compose.yml
43 lines (39 loc) · 937 Bytes
/
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
name: benefits
services:
client:
build:
context: .
dockerfile: appcontainer/Dockerfile
image: benefits_client:latest
env_file: .env
ports:
- "${DJANGO_LOCAL_PORT:-8000}:8000"
dev:
build:
context: .
dockerfile: .devcontainer/Dockerfile
image: benefits_client:dev
env_file: .env
# https://code.visualstudio.com/docs/remote/create-dev-container#_use-docker-compose
entrypoint: sleep infinity
depends_on:
- server
ports:
- "${DJANGO_LOCAL_PORT:-8000}:8000"
volumes:
- ./:/calitp/app
docs:
image: benefits_client:dev
entrypoint: mkdocs
command: serve --dev-addr "0.0.0.0:8001"
ports:
- "8001"
volumes:
- ./:/calitp/app
server:
image: ghcr.io/cal-itp/eligibility-server:dev
env_file: .devcontainer/server/.env.server
ports:
- "8000"
volumes:
- ./.devcontainer:/.devcontainer