diff options
author | startxfr <clarue@startx.fr> | 2015-11-29 00:44:42 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-29 00:44:42 +0100 |
commit | 78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df (patch) | |
tree | 13e05e8d8217a48a0d4decf8564defee11cf35ba /Services/mongo/docker-compose.yml | |
parent | a490cfe364a242b1e9993225758ea6e61369e363 (diff) | |
download | phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.gz phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.bz2 phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.xz phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.zip |
rewrite mongo and small updates in others
Diffstat (limited to 'Services/mongo/docker-compose.yml')
-rw-r--r-- | Services/mongo/docker-compose.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Services/mongo/docker-compose.yml b/Services/mongo/docker-compose.yml new file mode 100644 index 0000000..3c6a790 --- /dev/null +++ b/Services/mongo/docker-compose.yml @@ -0,0 +1,15 @@ +server: + build: ./ +# image: sx-mongo + container_name: "sx-mongo" + mem_limit: 2g + memswap_limit: 2g + cpu_shares: 10 + restart: "on-failure:2" + environment: + CONTAINER_TYPE: "service" + CONTAINER_SERVICE: "mongo" + CONTAINER_INSTANCE: "sx-mongo" + volumes: + - "/tmp/container/logs/mongodb:/data/logs/mongodb" + - "/tmp/container/mongodb:/data/mongodb"
\ No newline at end of file |