Skip to content

Commit

Permalink
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 30, 2024
1 parent 618adf4 commit b627210
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
50 changes: 25 additions & 25 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
version: "3.3"
version: '3.3'
services:
db:
container_name: bemore-db
image: postgres:12
volumes:
- app-db-data:/var/lib/postgresql/data/pgdata
- app-db-data:/var/lib/postgresql/data/pgdata
env_file:
- .env
- .env
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
- PGDATA=/var/lib/postgresql/data/pgdata
networks:
- default
- default

pgadmin:
container_name: bemore-pgadmin
image: dpage/pgadmin4
ports:
- "8089:5050"
- 8089:5050
depends_on:
- db
- db
env_file:
- .env
- .env
environment:
PGADMIN_CONFIG_SERVER_MODE: 'False'
networks:
- default
- default
queue:
container_name: bemore-queue
image: rabbitmq:3-management
Expand All @@ -33,54 +33,54 @@ services:
#
# You also have to change the flower command
ports:
- "15672:15672"
- 15672:15672

flower:
container_name: bemore-flower
image: mher/flower
depends_on:
- queue
- queue
command: celery --broker=amqp://guest:guest@bemore-queue:5672// flower --broker_api=http://guest:guest@bemore-queue:15672/api/
ports:
- "5555:5555"
- 5555:5555
environment:
- FLOWER_UNAUTHENTICATED_API=true
- FLOWER_UNAUTHENTICATED_API=true

backend:
tty: true
container_name: bemore-backend
image: '${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}'
image: ${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}
depends_on:
- db
- db
env_file:
- .env
- .env
environment:
# Allow explicit env var override for tests
- SMTP_HOST=${SMTP_HOST}
- SMTP_HOST=${SMTP_HOST}
ports:
- "8000:8001"
- 8000:8001
build:
context: ./backend
dockerfile: backend.dockerfile
args:
INSTALL_DEV: ${INSTALL_DEV-true}
volumes:
- ./backend/app:/app
- ./backend/app:/app

celeryworker:
tty: true
container_name: bemore-celeryworker
image: '${DOCKER_IMAGE_CELERYWORKER?Variable not set}:${TAG-latest}'
image: ${DOCKER_IMAGE_CELERYWORKER?Variable not set}:${TAG-latest}
depends_on:
- db
- queue
- db
- queue
env_file:
- .env
- .env
volumes:
- ./backend/app:/app
- ./backend/app:/app
environment:
# Allow explicit env var override for tests
- SMTP_HOST=${SMTP_HOST?Variable not set}
- SMTP_HOST=${SMTP_HOST?Variable not set}
build:
context: ./backend
dockerfile: celeryworker.dockerfile
Expand Down
30 changes: 15 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: "3.3"
version: '3.3'
services:
db:
container_name: bemore-db
image: postgres:12
volumes:
- app-db-data:/var/lib/postgresql/data/pgdata
- app-db-data:/var/lib/postgresql/data/pgdata
env_file:
- .env
- .env
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
- PGDATA=/var/lib/postgresql/data/pgdata
networks:
- default
- default


queue:
Expand All @@ -26,16 +26,16 @@ services:
backend:
tty: true
container_name: bemore-backend
image: '${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}'
image: ${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}
depends_on:
- db
- db
env_file:
- .env
- .env
environment:
# Allow explicit env var override for tests
- SMTP_HOST=${SMTP_HOST}
- SMTP_HOST=${SMTP_HOST}
ports:
- "8000:8001"
- 8000:8001
build:
context: ./backend
dockerfile: backend.dockerfile
Expand All @@ -45,15 +45,15 @@ services:
celeryworker:
tty: true
container_name: bemore-celeryworker
image: '${DOCKER_IMAGE_CELERYWORKER?Variable not set}:${TAG-latest}'
image: ${DOCKER_IMAGE_CELERYWORKER?Variable not set}:${TAG-latest}
depends_on:
- db
- queue
- db
- queue
env_file:
- .env
- .env
environment:
# Allow explicit env var override for tests
- SMTP_HOST=${SMTP_HOST?Variable not set}
- SMTP_HOST=${SMTP_HOST?Variable not set}
build:
context: ./backend
dockerfile: celeryworker.dockerfile
Expand Down

0 comments on commit b627210

Please sign in to comment.