-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
102 lines (92 loc) · 2.15 KB
/
docker-compose.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3.4'
services:
tailscale:
image: tailscale/tailscale:latest
hostname: talapoin
env_file: ./.env
environment:
- TS_SERVE_CONFIG=/config/backend.json
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- tailscalestate:/var/lib/tailscale
- ./config/tailscale:/config
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
caddy:
image: caddy:2.7.6
volumes:
- ./config:/etc/caddy
- ./:/app
- caddy_data:/data
- caddy_config:/config
restart: unless-stopped
backend:
image: jimwins/talapoin
build: ./
env_file: ./.env
expose:
- "9000"
volumes:
- .:/app
restart: unless-stopped
db:
image: mysql:8.0.30
env_file: ./.env
# old password auth so sphinx can access it
command: [ mysqld, --local-infile=1, --default_authentication_plugin=mysql_native_password ]
expose:
- "3306"
volumes:
- ./db/init:/docker-entrypoint-initdb.d
- mysql_data:/var/lib/mysql
restart: unless-stopped
meilisearch:
image: getmeili/meilisearch:v1.6
env_file: ./.env
volumes:
- meilisearch_data:/meili_data
expose:
- "7700"
restart: unless-stopped
# elasticsearch:
# image: docker.elastic.co/elasticsearch/elasticsearch:8.12.0
# environment:
# - node.name=muck-node
# - discovery.type=single-node
# - cluster.name=muck-es-data-cluster
# - bootstrap.memory_lock=true
# - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
# volumes:
# - elasticsearchdata:/usr/share/elasticsearch/data
# expose:
# - "9200"
# restart: always
# sphinxsearch:
# image: macbre/sphinxsearch:3.2.1
# links:
# - db
# env_file: ./config
# expose:
# - "9306"
# volumes:
# - ./search:/opt/sphinx/conf
# - searchdata:/var/data
# restart: always
# backup:
# build: backup
# env_file: ./config
# environment:
# - MYSQL_HOST=db
# - SCHEDULE=0 0 20 * * *
# restart: always
volumes:
mysql_data:
caddy_data:
caddy_config:
# searchdata:
# elasticsearchdata:
meilisearch_data:
tailscalestate: