summaryrefslogtreecommitdiffstats
path: root/Services/mariadb/docker-compose.yml
blob: 62ae6b88d92a223218546e243a59d076bd777145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"