forked from LycheeOrg/Lychee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (59 loc) · 1.68 KB
/
docker-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
53
54
55
56
57
58
59
60
61
62
63
64
#-------------------------------------------
# Docker Compose
# based on: https://github.com/LycheeOrg/Lychee-Laravel-Docker
#-------------------------------------------
version: '3'
services:
#lychee_db:
# container_name: lychee_db
# image: mariadb:10
# environment:
# - MYSQL_ROOT_PASSWORD=<ROOT_PASSWORD>
# - MYSQL_DATABASE=lychee
# - MYSQL_USER=lychee
# - MYSQL_PASSWORD=<LYCHEE_PASSWORD>
# expose:
# - 3306
# volumes:
# - mysql:/var/lib/mysql
# networks:
# - lychee
# restart: unless-stopped
lychee:
image: nagyistge/lychee
container_name: lychee
ports:
- 90:80
volumes:
- ./lychee/conf:/conf
- ./lychee/uploads:/uploads
- ./lychee/sym:/sym
networks:
- lychee
environment:
- PUID=1000
- PGID=1000
# PHP timezone e.g. PHP_TZ=America/New_York
- PHP_TZ=UTC
- APP_NAME=Lychee
#- APP_ENV=local
#- APP_DEBUG=true
- APP_URL=http://lychee.local
#- LOG_CHANNEL=stack
- DB_CONNECTION=sqlite
#- DB_DROP_CLEAR_TABLES_ON_ROLLBACK=false
#- DB_OLD_LYCHEE_PREFIX=''
#- BROADCAST_DRIVER=log
#- CACHE_DRIVER=file
#- SESSION_DRIVER=file
#- SESSION_LIFETIME=120
#- QUEUE_DRIVER=sync
#- SECURITY_HEADER_HSTS_ENABLE=false
- STARTUP_DELAY=30
restart: unless-stopped
#depends_on:
# - lychee_db
networks:
lychee:
#volumes:
# mysql: