Skip to content

Commit

Permalink
ci: add frontend to docker compose
Browse files Browse the repository at this point in the history
Co-authored-by: oriolagobat <[email protected]>
Co-authored-by: Pablito2020 <[email protected]>
  • Loading branch information
3 people committed Oct 11, 2023
1 parent c4cb03f commit d51acfd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
port: 22
script: |
cd ${{ secrets.PATH_TO_SAVE }}
docker-compose pull && docker-compose up -d
docker-compose pull && docker-compose up -d --build
22 changes: 7 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ services:
depends_on:
- postgres

refuapp-frontend:
build:
context: ./refuapp-frontend # Path to your project directory
dockerfile: Dockerfile
depends_on:
- refuapp-backend

nginxproxymanager:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginxproxymanager
Expand All @@ -40,18 +47,3 @@ volumes:
type: none
device: /home/ferran/data
o: bind
frontend_page:
driver: local
driver_opts:
type: none
device: /home/ferran/web
static_files:
driver: local
driver_opts:
type: none
device: /home/ferran/static
swag_config_files:
driver: local
driver_opts:
type: none
device: /home/ferran/refuapp-deploy
2 changes: 1 addition & 1 deletion refuapp-backend
2 changes: 1 addition & 1 deletion refuapp-frontend

0 comments on commit d51acfd

Please sign in to comment.