Absolute base dev testing compose file
This commit is contained in:
parent
218eb32de2
commit
57fd9e2d48
@ -1,26 +1,22 @@
|
||||
version: "3"
|
||||
services:
|
||||
redis:
|
||||
restart: always
|
||||
image: redis
|
||||
networks:
|
||||
- back-tier
|
||||
mongo:
|
||||
restart: always
|
||||
image: mongo
|
||||
volumes:
|
||||
- ".data/mongo:/data"
|
||||
networks:
|
||||
- back-tier
|
||||
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
|
||||
# volumes:
|
||||
# - .:/opt/tellform
|
||||
MAILER_SMTP_HOST: mail
|
||||
MAILER_SMTP_PORT: 1025
|
||||
links:
|
||||
- mongo
|
||||
- redis
|
||||
@ -29,27 +25,7 @@ services:
|
||||
depends_on:
|
||||
- mongo
|
||||
- redis
|
||||
networks:
|
||||
- back-tier
|
||||
web:
|
||||
# image: tellform/nginx:stable
|
||||
build:
|
||||
context: ./nginx
|
||||
# image: nginx:1.13
|
||||
restart: always
|
||||
mail:
|
||||
image: mailhog/mailhog
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "20523:20523"
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
#volumes:
|
||||
# - "$ROOT/certs:/certs"
|
||||
# - ./nginx/conf.d:/etc/nginx/conf.d
|
||||
networks:
|
||||
- back-tier
|
||||
|
||||
networks:
|
||||
back-tier:
|
||||
driver: bridge
|
||||
|
||||
- "5050:8025"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user