-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-example.yml
56 lines (51 loc) · 1.06 KB
/
docker-compose-example.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
---
version: "3.2"
volumes:
db:
networks:
memologe:
services:
# adminer:
# image: adminer
# ports:
# - 8080:8080
# networks:
# - memologe
# restart: unless-stopped
db:
image: mariadb
volumes:
- db:/var/lib/mysql
networks:
- memologe
environment:
MYSQL_DATABASE: memes
MYSQL_PASSWORD: memes_are_the_best
MYSQL_USER: memologe
MYSQL_ROOT_PASSWORD: test1
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
restart: unless-stopped
memologe:
image: einspaten/memologe
build: .
depends_on:
- db
volumes:
- $PWD/data/:/app/data/
networks:
- memologe
environment:
sqlite: 'False'
MYSQL_HOSTNAME: db
MYSQL_USERNAME: memologe
MYSQL_PASSWORD: memes_are_the_best
MYSQL_PORT: 3306
MYSQL_DATABASE: memes
save_memes_to_disc: 'False'
destination: /app/data/
read_on_start: 'False'
# at leat one token is required
telegram_token:
discord_token:
restart: unless-stopped