Compare commits

..

No commits in common. "48b79ce6ea8fdd0ef73380abe9831dd38bd4d6d1" and "cb481e6af61382cdff218dc7e1c39bfdb746c3dc" have entirely different histories.

4 changed files with 17 additions and 35 deletions

View File

@ -1,23 +0,0 @@
name: Publish JOBot on dev
on: [push]
branch: dev
jobs:
build and deploy:
runs-on: host
name: Build and deploy
volumes:
steps:
- name: Update repo
run: |
pwd
cd /home/dockeruser/jobot-stack
git checkout dev
git pull
docker compose -f compose.dev.yml up -d postgres
cd /home/dockeruser/jobot-stack/JOBot.Backend
dotnet ef database update -- --environment Development
docker compose up --build -d

View File

@ -0,0 +1,12 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"PostgreSQL": "Host=postgres;Port=5432;Database=jobot_test;Username=postgres;Password=LocalDbPass"
}
}

View File

@ -9,7 +9,7 @@ services:
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./.docker/postgres_data:/var/lib/postgresql/data
networks:
- jobot
@ -36,6 +36,3 @@ services:
networks:
jobot:
volumes:
postgres_data:

View File

@ -7,7 +7,7 @@ services:
POSTGRES_PASSWORD: LocalDbPass
POSTGRES_DB: jobot
volumes:
- postgres_data:/var/lib/postgresql/data
- ./.docker/postgres_data:/var/lib/postgresql/data
networks:
- jobot
@ -33,7 +33,3 @@ services:
networks:
jobot:
volumes:
postgres_data: