51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
services:
|
|
rabbitmq:
|
|
image: rabbitmq:3.12-management
|
|
ports:
|
|
- 15672:15672
|
|
postgres:
|
|
image: postgres:15.4-alpine
|
|
environment:
|
|
POSTGRES_PASSWORD: secret
|
|
redis:
|
|
image: redis:7.2-alpine
|
|
processor:
|
|
image: helgekr/bovine:python-poetry-3-11
|
|
volumes:
|
|
- .:/opt/bovine/
|
|
working_dir: /opt/bovine/
|
|
environment:
|
|
BOVINE_DB_URL: postgres://postgres:secret@postgres:5432/postgres?
|
|
BOVINE_AMQP: amqp://rabbitmq
|
|
command: ./ci/start_processor
|
|
depends_on:
|
|
- rabbitmq
|
|
main:
|
|
image: helgekr/bovine:python-poetry-3-11
|
|
volumes:
|
|
- .:/opt/bovine/
|
|
working_dir: /opt/bovine/
|
|
depends_on:
|
|
- postgres
|
|
- processor
|
|
environment:
|
|
BOVINE_DB_URL: postgres://postgres:secret@postgres:5432/postgres?
|
|
DO_INSTALL: 1
|
|
main_sqlite:
|
|
image: helgekr/bovine:python-poetry-3-11
|
|
volumes:
|
|
- .:/opt/bovine/
|
|
working_dir: /opt/bovine/
|
|
environment:
|
|
DO_INSTALL: 1
|
|
main_12:
|
|
image: python:3.12-alpine
|
|
volumes:
|
|
- .:/opt/bovine/
|
|
working_dir: /opt/bovine/
|
|
depends_on:
|
|
- postgres
|
|
environment:
|
|
BOVINE_DB_URL: postgres://postgres:secret@postgres:5432/postgres?
|
|
DO_INSTALL: 1
|