-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.26 KB
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
version: "3.8"
services:
timelogger_xampp:
image: digitme2/timelogger
restart: always
ports:
- "80:80"
- "3306:3306"
volumes:
- type: volume
source: timelogger_db_vol
target: /opt/lampp/var/mysql
- type: volume
source: timelogger_jobQrCodes_vol
target: /opt/lampp/htdocs/timelogger/generatedJobQrCodes
- type: volume
source: timelogger_userQrCodes_vol
target: /opt/lampp/htdocs/timelogger/generatedUserQrCodes
- type: volume
source: timelogger_productQrCodes_vol
target: /opt/lampp/htdocs/timelogger/generatedProductQrCodes
- type: volume
source: timelogger_stoppagesQrCodes_vol
target: /opt/lampp/htdocs/timelogger/generatedStoppagesQrCodes
dashtimelogger:
image: digitme2/dashtimelogger
ports:
- "5000:5000"
environment:
FLASK_DEBUG: 1
DEBUG: 1
DATABASE_USER: "server"
DATABASE_ADDRESS: "timelogger_xampp"
DATABASE_PORT: "3306"
DATABASE_NAME: "work_tracking"
FLASK_APP: ./appstart.py
depends_on:
- "timelogger_xampp"
volumes:
timelogger_db_vol:
timelogger_jobQrCodes_vol:
timelogger_userQrCodes_vol:
timelogger_productQrCodes_vol:
timelogger_stoppagesQrCodes_vol: