diff options
Diffstat (limited to 'Services/mariadb/docker-compose.yml')
-rw-r--r-- | Services/mariadb/docker-compose.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Services/mariadb/docker-compose.yml b/Services/mariadb/docker-compose.yml new file mode 100644 index 0000000..62ae6b8 --- /dev/null +++ b/Services/mariadb/docker-compose.yml @@ -0,0 +1,15 @@ +mariadb: + build: ./ +# image: sx-mariadb + container_name: "sx-mariadb" + mem_limit: 1g + memswap_limit: 2g + cpu_shares: 2 + restart: "on-failure:2" + environment: + CONTAINER_TYPE: "service" + CONTAINER_SERVICE: "mariadb" + CONTAINER_INSTANCE: "sx-mariadb" + volumes: + - "/tmp/container/logs:/data/logs" + - "/tmp/container/mariadb:/data/mariadb"
\ No newline at end of file |