Skip to content

Commit

Permalink
Update the project build
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Mar 14, 2024
1 parent 859301b commit 7629b19
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 73 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/build.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
- 'docker-compose.yml'
- '.github/workflows/client_pipeline.yml'
- '.github/workflows/code-analysis-js.yml'
schedule:
- cron: '0 7 * * 2'

jobs:
analyze_js:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
- 'docker-compose.yml'
- '.github/workflows/api_pipeline.yml'
- '.github/workflows/code-analysis-py.yml'
schedule:
- cron: '15 7 * * 2'

jobs:
analyze_py:
Expand Down
23 changes: 0 additions & 23 deletions dk-cp.base.yml

This file was deleted.

22 changes: 11 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,45 @@ services:

db:
container_name: seismic_db-dev
extends:
file: dk-cp.base.yml
service: db_base
image: postgres:15.4-bookworm
env_file:
- .env
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "${DB_PORT:-5444}:5432"

api:
container_name: seismic_api-dev
extends:
file: dk-cp.base.yml
service: api_base
build:
context: ./
dockerfile: ./docker/dockerfiles/Dockerfile.backend.dev
args:
- ENVIRONMENT=development
env_file:
- .env
- .env.dev
environment:
ENVIRONMENT: "development"
depends_on:
- db
ports:
- "${API_PORT:-8030}:8000"
volumes:
- ./api:/var/www/seismic/api/

client:
container_name: seismic_client-dev
extends:
file: dk-cp.base.yml
service: client_base
build:
context: ./
dockerfile: ./docker/dockerfiles/Dockerfile.frontend.dev
args:
- ENVIRONMENT=development
env_file:
- .env
- .env.dev
environment:
ENVIRONMENT: "development"
depends_on:
- api
volumes:
- ./client:/code
ports:
Expand Down

0 comments on commit 7629b19

Please sign in to comment.