pysmtp/docker-compose.yml

40 lines
970 B
YAML
Raw Permalink Normal View History

2021-12-28 03:01:00 -03:00
version: '2'
services:
db:
image: postgres:latest
# restart: no
environment:
- DEBUG=False
- POSTGRES_PASSWORD=docker
ports:
- 5432:5432
smtp-dev:
build:
dockerfile: dockerfiles/Dockerfile.server
context: .
# image: docker.ilab.cl/ilab-docencia:devel
restart: unless-stopped
environment:
- DEBUG=False
- SECRET_KEY=4d6f45a5fc12445dbac2f59c3b6c7cb2
- SQLALCHEMY_DATABASE_URI=postgresql+asyncpg://docker:docker@db/docker
- TIMEOUT=1200
ports:
- 10025:10025
sender-dev:
build:
dockerfile: dockerfiles/Dockerfile.sender
context: .
# image: docker.ilab.cl/ilab-docencia:devel
restart: unless-stopped
environment:
- DEBUG=False
2022-07-16 00:00:13 -04:00
- DKIM_PRIVKEY=myPricKey.pem
2021-12-28 03:01:00 -03:00
- DNS_RELAY=192.168.0.1
# - DNS_RELAY=200.1.21.80
- SQLALCHEMY_DATABASE_URI=postgresql+asyncpg://docker:docker@db/docker
- TIMEOUT=1200