-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.build.yml
More file actions
34 lines (33 loc) · 1.03 KB
/
docker-compose.build.yml
File metadata and controls
34 lines (33 loc) · 1.03 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
services:
backend:
build:
context: .
dockerfile: webui/backend/Dockerfile
image: dogstac/dogstac:latest
container_name: dogstac
ports:
- "${TFRUNNER_PORT:-7621}:${TFRUNNER_PORT:-7621}"
- "${MCP_PORT:-7622}:${MCP_PORT:-7622}"
environment:
- TERRAFORM_DIR=/app/terraform
- USE_PARAMETER_STORE=true
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-}
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN:-}
- AWS_PROFILE=${AWS_PROFILE:-}
- DOGSTAC_SALT=${DOGSTAC_SALT:-}
- FORCE_REINIT=${FORCE_REINIT:-false}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- ENABLE_MCP=${ENABLE_MCP:-true}
- TFRUNNER_PORT=${TFRUNNER_PORT:-7621}
- MCP_PORT=${MCP_PORT:-7622}
volumes:
- ${TERRAFORM_DATA_PATH:-./terraform-data}:/app/terraform
- ./modules:/app/terraform-source/modules
- ~/.aws:/root/.aws
restart: unless-stopped
networks:
- dogstac-network
networks:
dogstac-network:
driver: bridge