forked from hftlclub/club-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (35 loc) · 873 Bytes
/
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
version: "3"
services:
stecker-club-monitor:
depends_on:
- club-monitor-db
build:
context: .
dockerfile: ./Dockerfile
image: "club-monitor"
hostname: club-monitor
links:
- club-monitor-db:mysql
ports:
- "8082:80"
volumes:
- /var/lib/steckercontent/storage/cdn/upload:/var/www/html/common/uploads/
- /var/lib/steckercontent/storage/club-monitor/config.php:/var/www/html/common/config.php
labels:
traefik.enable: "true"
traefik.frontend.rule: "PathPrefixStrip:/club-monitor"
networks:
- stecker
club-monitor-db:
image: mysql:5.7
hostname: club-monitor-db
volumes:
- /var/lib/steckercontent/mysql/club-monitor:/var/lib/mysql
restart: always
env_file:
- sqlpwd.env
networks:
- stecker
networks:
stecker:
external: true