Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoApp committed Jan 17, 2024
1 parent 50aeaeb commit bc7c609
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 5 additions & 1 deletion anythink_ack.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh
sleep 10s

# change ports visibility to public to avoid CORS issues
if [ -n "$CODESPACE_NAME" ]; then
.devcontainer/open_port.sh >/dev/null 2>&1
fi

echo "Welcome to"
echo " _ _ _ _ _ "
Expand Down
9 changes: 4 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ services:
- '27017:27017'

anythink-ack:
build: ./frontend
image: public.ecr.aws/v0a2l7y2/wilco/anythink-ack:latest
container_name: anythink-ack
command: sh -c "/wait-for-it.sh anythink-frontend-react:3001 -q -t 1000 && ./anythink_ack.sh"
working_dir: /usr/src
volumes:
- ./:/usr/src/
environment:
- GITHUB_TOKEN=$GITHUB_TOKEN
- CODESPACE_NAME=$CODESPACE_NAME
depends_on:
- "anythink-frontend-react"

0 comments on commit bc7c609

Please sign in to comment.