Skip to content

Commit 60b09dd

Browse files
committed
fix aws env
1 parent 4be90dd commit 60b09dd

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.aws.stage.env

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
AUTHORITY=https://ioetec.b2clogin.com/ioetec.onmicrosoft.com/B2C_1_ioetec-implicit-grant-flow
2+
CLIENT_ID=voidvoid
3+
CLIENT_URL='394737840825-iujr9h8dil0tumd4p71v75hkkpft7n8b.apps.googleusercontent.com'
4+
API_URL=https://api.stg.timetracker.ioet.com/api
5+
SCOPES=voidvoidvoid
6+
STACK_EXCHANGE_ID='IrvYA3VnTtSujA*4GXNNZw(('
7+
STACK_EXCHANGE_ACCESS_TOKEN='1aTdIEmS4Iau8nlIhKcIew))'
8+
AZURE_APP_CONFIGURATION_CONNECTION_STRING='Endpoint=https://time-tracker-config.azconfig.io;Id=vaG9-l5-s0:+XSPivZr//ln4WYn17Oj;Secret=Czai5chycYKcdjDXNJBhe54jVu64NJJAUAAADcGzCes='

.stage.env

56 Bytes
Binary file not shown.

infrastructure/aws_ec2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ echo "Deploying $1..."
33
docker ps -aq | xargs docker stop| xargs docker rm --force --volumes
44
docker system prune -af
55
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 568748651446.dkr.ecr.us-east-1.amazonaws.com
6-
docker run -d --name timetracker_ui --env-file .$2.env -p 80:80 568748651446.dkr.ecr.us-east-1.amazonaws.com/time-tracker/$2-ui:$1
6+
docker run -d --name timetracker_ui --env-file .aws.$2.env -p 80:80 568748651446.dkr.ecr.us-east-1.amazonaws.com/time-tracker/$2-ui:$1

0 commit comments

Comments
 (0)