You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
835 B
36 lines
835 B
3 years ago
|
version: "3"
|
||
|
services:
|
||
|
mariadb:
|
||
|
image: ghcr.io/linuxserver/mariadb:latest
|
||
|
container_name: lychee_mariadb
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- ./app/mariadb/data:/config
|
||
|
environment:
|
||
|
- MYSQL_ROOT_PASSWORD=rootpassword
|
||
|
- MYSQL_DATABASE=lychee
|
||
|
- MYSQL_USER=lychee
|
||
|
- MYSQL_PASSWORD=dbpassword
|
||
|
- PGID=1000
|
||
|
- PUID=1000
|
||
|
- TZ=Asia/Shanghai
|
||
|
lychee:
|
||
|
image: ghcr.io/linuxserver/lychee:latest
|
||
|
container_name: lychee
|
||
|
restart: always
|
||
|
depends_on:
|
||
|
- mariadb
|
||
|
volumes:
|
||
|
- ./app/config:/config
|
||
|
- ./app/pictures:/pictures
|
||
|
environment:
|
||
|
- DB_HOST=mariadb
|
||
|
- DB_USERNAME=lychee
|
||
|
- DB_PASSWORD=dbpassword
|
||
|
- DB_DATABASE=lychee
|
||
|
- DB_PORT=3306
|
||
|
- PGID=1000
|
||
|
- PUID=1000
|
||
|
- TZ=Asia/Shanghai
|
||
|
ports:
|
||
|
- 9318:80
|