blob: c509f97b5a865c2cd71e2229b5105ce3b027f663 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
server:
build: ./
container_name: "service-mariadb"
mem_limit: 1g
memswap_limit: 1g
cpu_shares: 8
restart: "on-failure:2"
privileged: true
ports:
- "9231:3306"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "mariadb"
CONTAINER_INSTANCE: "service-mariadb"
MYSQL_ROOT_PASSWORD: "secretdemerde"
MYSQL_USER: "user-test"
MYSQL_PASSWORD: "pwd-test"
MYSQL_DATABASE: "db_test"
volumes:
- "/tmp/container/logs/mariadb:/logs"
- "/tmp/container/mariadb:/data"
|