mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
fixed networks for rc
This commit is contained in:
@@ -34,6 +34,8 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- rocketchat:/app/uploads
|
- rocketchat:/app/uploads
|
||||||
|
networks:
|
||||||
|
- admin_web
|
||||||
environment:
|
environment:
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
- ROOT_URL=http://${ROCKET_DOMAIN_NAME}:3000
|
- ROOT_URL=http://${ROCKET_DOMAIN_NAME}:3000
|
||||||
@@ -57,6 +59,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- rocketchat-db:/data/db
|
- rocketchat-db:/data/db
|
||||||
- rocketchat-dump:/dump
|
- rocketchat-dump:/dump
|
||||||
|
networks:
|
||||||
|
- admin_web
|
||||||
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
|
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
|
||||||
|
|
||||||
mongo-init-replica:
|
mongo-init-replica:
|
||||||
@@ -74,6 +78,8 @@ services:
|
|||||||
done; (exit $$s)"
|
done; (exit $$s)"
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
|
networks:
|
||||||
|
- admin_web
|
||||||
|
|
||||||
# hubot, the popular chatbot (add the bot user first and change the password before starting this image)
|
# hubot, the popular chatbot (add the bot user first and change the password before starting this image)
|
||||||
hubot:
|
hubot:
|
||||||
@@ -91,3 +97,6 @@ services:
|
|||||||
- rocketchat
|
- rocketchat
|
||||||
volumes:
|
volumes:
|
||||||
- rocketchat-scripts:/home/hubot/scripts
|
- rocketchat-scripts:/home/hubot/scripts
|
||||||
|
networks:
|
||||||
|
- admin_web
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user