dev #5
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -1,13 +1,11 @@
|
||||
name: CI-pipeline
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
linters:
|
||||
|
||||
12
compose.yaml
12
compose.yaml
@@ -1,9 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
django-app:
|
||||
image: wtukatyr/django-example-app:latest
|
||||
container_name: django-app
|
||||
ports:
|
||||
- "80:8000"
|
||||
- "8989:8000"
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
@@ -14,6 +14,8 @@ services:
|
||||
DATABASE_PORT: ${DATABASE_PORT}
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- proxy-common
|
||||
db:
|
||||
image: postgres:14
|
||||
restart: always
|
||||
@@ -35,3 +37,7 @@ services:
|
||||
|
||||
volumes:
|
||||
pg-data:
|
||||
|
||||
networks:
|
||||
proxy_common:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user