diff --git a/docker-compose.yml b/docker-compose.yml index 555c9f7..6a4f288 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,18 +14,9 @@ services: ports: - 127.0.0.1:3000:3000 depends_on: + - db - redis - mail-dummy - - db - - redis: - image: redis:7 - - mail-dummy: - image: python:3.11-slim - command: python3 -m smtpd --debug --class DebuggingServer 0.0.0.0:25 - expose: - - 25 db: image: postgres:16.3 @@ -36,5 +27,14 @@ services: volumes: - pgdata:/var/lib/postgresql/data + redis: + image: redis:7 + + mail-dummy: + image: python:3.11-slim + command: python3 -m smtpd --debug --class DebuggingServer 0.0.0.0:25 + expose: + - 25 + volumes: pgdata: