-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 898 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (40 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3"
services:
db:
image: "mysql"
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: root_pw
MYSQL_USER: tattle
MYSQL_DATABASE: memebox
MYSQL_PASSWORD: tattle_pw
ports:
- 3306:3306
volumes:
- "~/data/memebox/db:/var/lib/mysql"
db_gui:
image: adminer
restart: always
ports:
- 8080:8080
elasticsearch:
container_name: es
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.1
volumes:
- "~/data/memebox/es:/usr/share/elasticsearch/data"
ports:
- "9300:9300"
- "9200:9200"
environment:
- xpack.security.enabled=false
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK