blob: e6975682f659e41f1603104d64f94d1594c70c17 (
plain)
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
|
version: '2'
services:
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_DATABASE=filebin
- MYSQL_USER=filebin
# TODO: can this be set to a random password?
- MYSQL_PASSWORD=filebin-docker-demo
- MYSQL_RANDOM_ROOT_PASSWORD=yes
filebin:
links:
- mysql
build: ..
ports:
- "8080:8080"
environment:
- FB_DB_HOSTNAME=mysql
- FB_DB_USERNAME=filebin
- FB_DB_PASSWORD=filebin-docker-demo
- FB_DB_DATABASE=filebin
- FB_CONTACT_NAME=John Doe
- FB_CONTACT_MAIL=root@example.local
- FB_SMTP_HOST=localhost
- FB_SMTP_PORT=587
- FB_SMTP_USER=webmaster@example.invalid
- FB_SMTP_PASSWORD=mysecretpassword
|