-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 687 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 687 Bytes
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
services:
application:
image: algirdasc/expensave:latest
restart: unless-stopped
ports:
- "18000:18000"
environment:
LOCALE: en
REGISTRATION_DISABLED: no
TZ: Europe/Vilnius
ANONYMOUS_DATA_COLLECTION_DISABLED: no
depends_on:
database:
condition: service_healthy
database:
image: mariadb:11
volumes:
- './db:/var/lib/mysql'
restart: unless-stopped
environment:
MARIADB_RANDOM_ROOT_PASSWORD: yes
MARIADB_USER: expensave
MARIADB_PASSWORD: expensave
MARIADB_DATABASE: expensave
healthcheck:
test: [ "CMD", "mariadb-admin", "ping" ]
retries: 5
timeout: 5s