mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-23 20:11:12 +00:00
chore: update leantime
This commit is contained in:
parent
42e53f6e5e
commit
e25395ca48
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
|
|
||||||
leantime_db:
|
leantime_db:
|
||||||
image: mysql:8.0
|
image: mysql:8.4
|
||||||
container_name: leantime-mysql
|
container_name: leantime-mysql
|
||||||
expose:
|
expose:
|
||||||
- 3306
|
- 3306
|
||||||
|
@ -11,7 +11,7 @@ services:
|
||||||
env_file: ./.env
|
env_file: ./.env
|
||||||
command: --character-set-server=UTF8MB4 --collation-server=UTF8MB4_unicode_ci
|
command: --character-set-server=UTF8MB4 --collation-server=UTF8MB4_unicode_ci
|
||||||
#networks:
|
#networks:
|
||||||
# - proxy
|
# - internal
|
||||||
|
|
||||||
leantime:
|
leantime:
|
||||||
image: leantime/leantime:latest
|
image: leantime/leantime:latest
|
||||||
|
@ -21,14 +21,16 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/public_data:/var/www/html/public/userfiles
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/public_data:/var/www/html/public/userfiles
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/data:/var/www/html/userfiles
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/data:/var/www/html/userfiles
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/plugins:/var/www/html/app/Plugins
|
||||||
ports:
|
ports:
|
||||||
- "8080:80" # The port to expose and access Leantime
|
- "8080:80" # The port to expose and access Leantime
|
||||||
expose:
|
expose:
|
||||||
- 80
|
- 80
|
||||||
depends_on:
|
depends_on:
|
||||||
- leantime_db # Don't start Leantime unless leantime_db is running
|
- leantime_db
|
||||||
#networks:
|
#networks:
|
||||||
# - proxy
|
# - proxy
|
||||||
|
# - internal
|
||||||
#labels:
|
#labels:
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
# - traefik.http.routers.leantime.rule=Host(`leantime.example.com`)
|
# - traefik.http.routers.leantime.rule=Host(`leantime.example.com`)
|
||||||
|
@ -44,3 +46,5 @@ services:
|
||||||
#networks:
|
#networks:
|
||||||
# proxy:
|
# proxy:
|
||||||
# external: true
|
# external: true
|
||||||
|
# internal:
|
||||||
|
# internal: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user