-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
52 lines (49 loc) · 1.19 KB
/
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
---
services:
wavelog:
image: philipreinken/wavelog:1.4
ports:
- '8080:8080'
volumes:
- wavelog-config:/var/www/html/application/config
- wavelog-logs:/var/www/html/application/logs
- wavelog-backup:/var/www/html/backup
- wavelog-updates:/var/www/html/updates
- wavelog-uploads:/var/www/html/uploads
- wavelog-images:/var/www/html/images/eqsl_card_images
develop:
watch:
- action: sync
path: .
target: /var/www/html
ignore:
- .github/
- backup/
- updates/
- uploads/
depends_on:
database:
condition: service_healthy
database:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: not-a-real-password
MYSQL_DATABASE: wavelog
MYSQL_USER: wavelog
MYSQL_PASSWORD: wavelog
ports:
- '3306:3306'
volumes:
- db-data:/var/lib/mysql
healthcheck:
test: [ 'CMD', 'mysqladmin' ,'ping', '-h', 'localhost', '-p$$MYSQL_ROOT_PASSWORD' ]
timeout: 20s
retries: 10
volumes:
db-data:
wavelog-config:
wavelog-logs:
wavelog-backup:
wavelog-updates:
wavelog-uploads:
wavelog-images: