-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yml.example
70 lines (58 loc) · 2.01 KB
/
docker-compose.override.yml.example
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
version: '3'
################################################################################
# SERVICES
################################################################################
services:
# ------------------------------------------------------------
# phpMyAdmin
# ------------------------------------------------------------
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: phpmyadmin
restart: always
environment:
- PMA_HOST=mysql
- PMA_USER=root
- PMA_PASSWORD=
labels:
- traefik.enable=true
- traefik.http.routers.phpmyadmin.rule=Host(`pma.localhost`)
- traefik.http.routers.phpmyadmin.entrypoints=http
depends_on:
- mysql
# -----------------------------------------------------------------------------------------------
# Ngrok
# -----------------------------------------------------------------------------------------------
ngrok:
image: wernight/ngrok:latest
container_name: ngrok
environment:
- NGROK_PORT=httpd:80
- NGROK_REGION=${NGROK_REGION:-eu}
- NGROK_AUTH=${NGROK_AUTH:-}
labels:
- traefik.enable=true
- traefik.http.routers.ngrok.rule=Host(`ngrok.localhost`)
- traefik.http.routers.ngrok.entrypoints=http
- traefik.http.services.ngrok.loadbalancer.server.port=4040
# ------------------------------------------------------------
# Fake SMTP server
# ------------------------------------------------------------
smtp4dev:
image: rnwood/smtp4dev:v3
container_name: smtp4dev
hostname: smtp4dev
restart: always
environment:
- ServerOptions__HostName=smtp4dev
labels:
- traefik.enable=true
- traefik.http.routers.smtp4dev.rule=Host(`mail.localhost`)
- traefik.http.routers.smtp4dev.entrypoints=http
- traefik.http.routers.smtp4dev.service=smtp4dev-service
- traefik.http.services.smtp4dev-service.loadbalancer.server.port=80
volumes:
- smtp4dev-data:/smtp4dev
volumes:
smtp4dev-data: null