ohmyform/docker/compose/docker-compose.yml
Leopere 30dc60670f Created Docker directory and cleanup
Move container things to Docker subdir as it doesn't need to litter the root of the repo up.
2019-07-11 20:02:39 -04:00

33 lines
656 B
YAML

## TODO: add a compose examples directory with various deployment options.
version: "3"
services:
redis:
image: redis
mongo:
image: mongo
volumes:
- "./data/mongo:/data"
tellform:
build:
context: .
environment:
CREATE_ADMIN: "TRUE"
SOCKET_PORT: "5000"
SOCKET_PORT_EXTERN_VISIBLE: "TRUE"
MONGODB_URI: mongodb://mongo/tellform
REDIS_URL: redis://redis
MAILER_SMTP_HOST: mail
MAILER_SMTP_PORT: 1025
links:
- mongo
- redis
ports:
- "5000:5000"
depends_on:
- mongo
- redis
mail:
image: mailhog/mailhog
ports:
- "5050:8025"