Add docker-compose #47

Merged
ignisf merged 3 commits from add-docker-compose into master 2024-06-01 12:29:48 +03:00
1 changed files with 10 additions and 10 deletions
Showing only changes of commit dc456b4e31 - Show all commits

View File

@ -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: