Compare commits
1 Commits
master
...
docker-com
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88fe26e633 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -86,3 +86,6 @@ coverageClient/
|
||||
.elasticbeanstalk/*
|
||||
!.elasticbeanstalk/*.cfg.yml
|
||||
!.elasticbeanstalk/*.global.yml
|
||||
|
||||
## Docker
|
||||
docker-compose.override.yml
|
||||
|
||||
27
docker/overrides/mailhog.yml
Normal file
27
docker/overrides/mailhog.yml
Normal file
@ -0,0 +1,27 @@
|
||||
version: "3"
|
||||
services:
|
||||
tellform:
|
||||
image: ohmyform/ohmyform
|
||||
environment:
|
||||
CREATE_ADMIN: "TRUE"
|
||||
SOCKET_URL: 'localhost:5000'
|
||||
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
|
||||
# command: grunt dev # override command to have livereloading on file change
|
||||
links:
|
||||
- mongo
|
||||
- redis
|
||||
- mail
|
||||
ports:
|
||||
- "5000:5000"
|
||||
depends_on:
|
||||
- mongo
|
||||
- redis
|
||||
mail:
|
||||
image: mailhog/mailhog
|
||||
ports:
|
||||
- "5050:8025"
|
||||
13
docker/overrides/mongoexpress.yml
Normal file
13
docker/overrides/mongoexpress.yml
Normal file
@ -0,0 +1,13 @@
|
||||
## TODO: add a compose examples directory with various deployment options.
|
||||
version: "3"
|
||||
services:
|
||||
mongoexpress:
|
||||
image: mongo-express
|
||||
environment:
|
||||
ME_CONFIG_MONGODB_SERVER: mongo
|
||||
ports:
|
||||
- "5051:8081"
|
||||
links:
|
||||
- mongo
|
||||
depends_on:
|
||||
- mongo
|
||||
23
docker/overrides/traefik.yml
Normal file
23
docker/overrides/traefik.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: "3"
|
||||
services:
|
||||
redis:
|
||||
image: redis
|
||||
mongo:
|
||||
image: mongo
|
||||
volumes:
|
||||
- "./data/mongo:/data"
|
||||
tellform:
|
||||
expose:
|
||||
- 5000
|
||||
ports:
|
||||
- "127.0.0.1:5000:5000"
|
||||
mail:
|
||||
ports:
|
||||
- "127.0.0.1:5050:8025"
|
||||
expose:
|
||||
- 8025
|
||||
mongoexpress:
|
||||
ports:
|
||||
- "127.0.0.1:5051:8081"
|
||||
expose:
|
||||
- 8081
|
||||
Loading…
x
Reference in New Issue
Block a user