This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (55 loc) · 1.63 KB
/
docker-compose.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
57
58
59
60
61
62
version: '2'
services:
traefik:
image: traefik:alpine
restart: always
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.toml:/etc/traefik/traefik.toml:ro
- ./.data/traefik/log/:/etc/traefik/log/
- ./keys:/etc/traefik/keys:ro
memcached:
image: memcached:latest
container_name: main_memcached
restart: always
mcadmin:
image: hitwe/phpmemcachedadmin
restart: always
depends_on:
- memcached
labels:
- "traefik.frontend.rule=Host:mem.dev.localhost"
- "traefik.frontend.redirect.entryPoint=https"
db:
image: mariadb:latest
restart: always
container_name: main_db
volumes:
- "./.data/db:/var/lib/mysql"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
labels:
- "traefik.port=3306"
- "traefik.frontend.rule=Host:dbmain.dev.localhost"
mailcatcher:
environment:
MAILCATCHER_PORT: 1025
image: schickling/mailcatcher
labels:
- "traefik.port=1080"
- "traefik.frontend.rule=Host:mail.dev.localhost"
- "traefik.frontend.redirect.entryPoint=https"
dbadmin:
image: phpmyadmin/phpmyadmin:latest
restart: always
labels:
- "traefik.frontend.rule=Host:db.dev.localhost"
- "traefik.frontend.redirect.entryPoint=https"
networks:
default:
external:
name: dev