mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 08:25:23 +02:00
Create docker-compose.yml
This commit is contained in:
committed by
GitHub
parent
a1b9db513a
commit
3f0ffc0243
34
blueprints/leantime/docker-compose.yml
Normal file
34
blueprints/leantime/docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
leantime:
|
||||
image: leantime/leantime:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 80
|
||||
environment:
|
||||
- LEAN_DB_HOST=db
|
||||
- LEAN_DB_USER=${LEAN_DB_USER}
|
||||
- LEAN_DB_PASSWORD=${LEAN_DB_PASSWORD}
|
||||
- LEAN_DB_DATABASE=${LEAN_DB_DATABASE}
|
||||
volumes:
|
||||
- leantime-files:/var/www/html/userfiles
|
||||
- leantime-public:/var/www/html/public/userfiles
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mariadb:11
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=${LEAN_DB_DATABASE}
|
||||
- MYSQL_USER=${LEAN_DB_USER}
|
||||
- MYSQL_PASSWORD=${LEAN_DB_PASSWORD}
|
||||
command: --character-set-server=utf8 --collation-server=utf8_unicode_ci
|
||||
volumes:
|
||||
- db-data:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
leantime-files: {}
|
||||
leantime-public: {}
|
||||
db-data: {}
|
||||
Reference in New Issue
Block a user