Skip to content

Commit

Permalink
one more test for the night
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Bisom committed Apr 16, 2024
1 parent 4b845c7 commit 6f334cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
with:
python-version: "3.12"

- name: Install Docker Compose
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- name: Build
run: |
docker-compose -f docker-compose-dev-ga.yaml up --build -d
Expand Down
6 changes: 6 additions & 0 deletions docker-compose-dev-ga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ services:
depends_on:
db:
condition: service_healthy
volumes:
- "./backend/src:/app"
ports:
- 5000:5000

nginx:
image: nginx:1.25
container_name: nginx
volumes:
- ../:/var/www
- ./nginx/nginx_dev.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
depends_on:
Expand All @@ -25,6 +30,7 @@ services:
environment:
MYSQL_ROOT_PASSWORD: 'rootpassword'
volumes:
- ./data/db:/var/lib/mysql
- ./backend/src/init_db:/docker-entrypoint-initdb.d
ports:
- "3306:3306"
Expand Down

0 comments on commit 6f334cf

Please sign in to comment.