This repository has been archived by the owner on May 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
35 lines (35 loc) · 1.33 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
version: "3"
services:
cloud-utils:
image: mikesprague/cloud-utils:latest
container_name: cloud-utils
environment:
# configures awscli-login for Cornell use
# (if false, all tools are still available - awscli-login simply not auto-configured)
- SETUP_AWSCLI_LOGIN=true
# next 3 options only matter if SETUP_AWSCLI_LOGIN is true
# options are: push, sms, phone, auto
- DUO_FACTOR="auto"
# don't change this unless you're sure you have another endpoint and have the correct URL
- ECP_ENDPOINT="https://shibidp.cit.cornell.edu/idp/profile/SAML2/SOAP/ECP"
# add your netid (leaving blank will simply prompt you for username when you run aws login)
- NETID=""
# installs zsh, oh-my-zsh, and enables plugins (aws, git, zsh-suggestions, zsh-completions)
# starts your session in a zsh terminal versus bash
- SETUP_OHMYZSH=false
# installs nodejs and npm (also installs fx json viewer)
# fx is a powerful jq alternative - https://github.com/antonmedv/fx/
- SETUP_NODEJS=false
networks:
- default
stdin_open: true
tty: true
volumes:
- ./:/mounted-home
- ${HOME}/.aws:/root/.aws
- ${HOME}/.aws-login:/root/.aws-login
working_dir: "/mounted-home"
command: [ "/bin/bash" ]
networks:
default:
driver: "bridge"