Changing meango to mongo, not exactly a meanstack here

This commit is contained in:
Josh Cox 2017-07-25 11:29:34 -05:00
parent b041a2fa64
commit d81544c93b

View File

@ -11,17 +11,17 @@ services:
traefik.acme: true traefik.acme: true
traefik.port: 3000 traefik.port: 3000
environment: environment:
MONGO_URL: "mongodb://meango/reaction" MONGO_URL: "mongodb://mongo/reaction"
ROOT_URL: "http://${REACTION_HOST}.${REACTION_DOMAIN}" ROOT_URL: "http://${REACTION_HOST}.${REACTION_DOMAIN}"
REACTION_EMAIL: ${REACTION_EMAIL} REACTION_EMAIL: ${REACTION_EMAIL}
REACTION_USER: ${REACTION_USER} REACTION_USER: ${REACTION_USER}
REACTION_AUTH: ${REACTION_AUTH} REACTION_AUTH: ${REACTION_AUTH}
meango: mongo:
command: mongod --storageEngine=wiredTiger command: mongod --storageEngine=wiredTiger
restart: always restart: always
environment: environment:
MONGO_SERVICE_NAME: meango MONGO_SERVICE_NAME: mongo
CATTLE_SCRIPT_DEBUG: ${debug} CATTLE_SCRIPT_DEBUG: ${debug}
tty: true tty: true
image: mongo:3.4 image: mongo:3.4
@ -29,8 +29,8 @@ services:
io.rancher.scheduler.affinity:host_label: ${host_label} io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.container.hostname_override: container_name io.rancher.container.hostname_override: container_name
volumes: volumes:
- meangodata:/data/db - mongodata:/data/db
volumes: volumes:
meangodata: mongodata:
driver: ${VOLUME_DRIVER} driver: ${VOLUME_DRIVER}