Skip to content

Commit

Permalink
modify for peerly
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Mar 21, 2024
1 parent d786908 commit a86db0e
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 105 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Clone repository to local
uses: actions/checkout@v4
with:
submodules: true

- name: Copy env file
run: cp ../.env ./backend/
Expand Down
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ services:
build: ./frontend
restart: unless-stopped
ports:
- "3001:8000"
- "3001:8000"
depends_on:
- peerly-frontend
- peerly-backend

include:
- peerly/docker-compose.yml
5 changes: 4 additions & 1 deletion frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ server {
try_files $uri /dyslexicon/index.html;
}
location /peerly {
try_files $uri /peerly/index.html;
proxy_pass http://peerly-frontend:3000;
}
location /peerly-api {
proxy_pass http://peerly-backend:3001/;
}
location / {
try_files $uri /index.html;
Expand Down
89 changes: 0 additions & 89 deletions frontend/public/peerly/assets/index-fJI82kLt.js

This file was deleted.

1 change: 0 additions & 1 deletion frontend/public/peerly/assets/index-fyz-CSax.css

This file was deleted.

Binary file removed frontend/public/peerly/favicon.ico
Binary file not shown.
12 changes: 0 additions & 12 deletions frontend/public/peerly/index.html

This file was deleted.

0 comments on commit a86db0e

Please sign in to comment.