-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 793 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (33 loc) · 793 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
version: '3.5'
# Using træfik as reverse proxy, no need to expose apache service on port 80
services:
apache:
image: ashledombos/bugzilla-apache
depends_on:
- pg
networks:
- web
- default
volumes:
- /home/manager/docker/bugzilla/code:/usr/local/apache2/htdocs
ports:
- 8990:80
labels:
- "traefik.docker.network=web"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:issues.openmandriva.org"
pg:
image: postgres:11-alpine
volumes:
- /home/manager/docker/bugzilla/base:/var/lib/postgresql/data
environment:
- POSTGRES_DB=bugs
- POSTGRES_USER=bugs
- POSTGRES_PASSWORD:bugs
# adminer:
# image: adminer
# ports:
# - 8989:8080
networks:
web:
external: true