-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
56 lines (48 loc) · 1.02 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
version: '3.8'
services:
biblioteca:
image: ghcr.io/biblioverse/biblioteca-docker:latest
# build:
# context: .
# target: base
entrypoint: ["/bin/sh", "-c" , "crontab /var/www/html/config/crontab.txt && apache2-foreground" ]
ports:
- "48480:8080"
depends_on:
- db
volumes:
- .:/var/www/html
- .composer:/home/.composer:cached
stdin_open: true
tty: true
networks:
- default
- pontsun
db:
image: mariadb:10.10
environment:
- MYSQL_ROOT_PASSWORD=db
- MYSQL_DATABASE=db
- MYSQL_USER=db
- MYSQL_PASSWORD=db
ports:
- "49405:3306"
volumes:
- mariadb:/var/lib/mysql
networks:
- default
typesense:
image: typesense/typesense:0.26.0.rc46
restart: on-failure
ports:
- 8983
- "8108:8108"
volumes:
- searchdata:/data
command: '--data-dir /data --api-key=xyz --enable-cors'
volumes:
mariadb:
searchdata:
networks:
pontsun:
external: true