Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 1s
43 lines
689 B
YAML
43 lines
689 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:15
|
|
environment:
|
|
POSTGRES_PASSWORD: LocalDbPass
|
|
POSTGRES_DB: jobot
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- jobot
|
|
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: JOBot.Backend/Dockerfile
|
|
depends_on:
|
|
- postgres
|
|
ports:
|
|
- "5000:5000"
|
|
networks:
|
|
- jobot
|
|
|
|
bot:
|
|
build:
|
|
context: .
|
|
dockerfile: JOBot.TClient/Dockerfile
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- jobot
|
|
|
|
networks:
|
|
jobot:
|
|
|
|
|
|
volumes:
|
|
postgres_data:
|
|
driver: local
|
|
driver_opts:
|
|
type: none
|
|
device: ./.docker/postgres_data |