Reorder services

This commit is contained in:
Tocho Tochev 2024-05-26 09:44:08 +03:00
parent 73a9c176f6
commit dc456b4e31
1 changed files with 10 additions and 10 deletions

View File

@ -14,18 +14,9 @@ services:
ports: ports:
- 127.0.0.1:3000:3000 - 127.0.0.1:3000:3000
depends_on: depends_on:
- db
- redis - redis
- mail-dummy - 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: db:
image: postgres:16.3 image: postgres:16.3
@ -36,5 +27,14 @@ services:
volumes: volumes:
- pgdata:/var/lib/postgresql/data - 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: volumes:
pgdata: pgdata: