-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.install.yml
More file actions
28 lines (28 loc) · 1.09 KB
/
Copy pathdocker-compose.install.yml
File metadata and controls
28 lines (28 loc) · 1.09 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
# AWS messaging installer — driven by ./install.sh's AWS step, not run by hand.
services:
installer:
# Published image first (install.sh pulls it); the build stanza is the
# fallback for a working tree ahead of the last release, and the path
# install-build.sh uses.
image: teem/tops-installer:${TOPS_IMAGE_TAG:-latest}
build:
context: .
dockerfile: docker/installer/Dockerfile
container_name: teemops-installer
profiles:
- install
working_dir: /workspace
environment:
TEEMOPS_ROOT: /workspace
TOPS_DEPLOYMENT_REGION: ${TOPS_DEPLOYMENT_REGION}
TOPS_ENVIRONMENT: ${TOPS_ENVIRONMENT:-test}
TOPS_INSTALL_TARGET: ${TOPS_INSTALL_TARGET:-docker}
AWS_PROFILE: ${AWS_PROFILE:-default}
AWS_DEFAULT_REGION: ${TOPS_DEPLOYMENT_REGION}
AWS_REGION: ${TOPS_DEPLOYMENT_REGION}
AWS_SDK_LOAD_CONFIG: "1"
volumes:
- .:/workspace
- ${HOME}/.aws:/root/.aws:ro
# On EC2, set TOPS_INSTALLER_NETWORK=host so the container can reach IMDS for instance credentials
network_mode: ${TOPS_INSTALLER_NETWORK:-bridge}