forked from astir13/bugzilla-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
40 lines (37 loc) · 995 Bytes
/
compose.yaml
File metadata and controls
40 lines (37 loc) · 995 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
version: '3'
services:
bugzilla:
image: bugzilla
ports:
- "80:80"
environment:
BUGZILLA_DB_HOST: db
BUGZILLA_DB_NAME: bugzilla
BUGZILLA_DB_USER: bugzilla_user
BUGZILLA_DB_PASS: secure_password
BUGZILLA_ADMIN_EMAIL: admin@example.com
BUGZILLA_ADMIN_PASS: admin_password
BUGZILLA_ADMIN_REALNAME: Bugzilla Administrator
POSTFIX_HOSTNAME: mail.example.com
POSTFIX_NETWORKS: "127.0.0.0/8"
SERVERNAME: "http://localhost"
volumes:
- bugzilla-data:/var/www/html/bugzilla/data
- bugzilla-images:/var/www/html/bugzilla/images
- bugzilla-lib:/var/www/html/bugzilla/lib
depends_on:
- db
db:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: root_password
MYSQL_DATABASE: bugzilla
MYSQL_USER: bugzilla_user
MYSQL_PASSWORD: secure_password
volumes:
- mysql-data:/var/lib/mysql
volumes:
bugzilla-data:
bugzilla-images:
bugzilla-lib:
mysql-data: