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.
20 lines
355 B
20 lines
355 B
db:
|
|
image: mysql
|
|
volumes:
|
|
- /volume/mysql/:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=rootpassword
|
|
- MYSQL_USER=mysqluser
|
|
- MYSQL_PASSWORD=password
|
|
- MYSQL_DATABASE=lychee
|
|
web:
|
|
image: lychee
|
|
links:
|
|
- db
|
|
volumes:
|
|
- /volume/web:/var/www/html/uploads
|
|
- /volume/data:/var/www/html/data
|
|
|
|
ports:
|
|
- 80:80
|