mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-07 10:06:10 +00:00
Add database support
This commit is contained in:
parent
f7c4f09fc7
commit
b3532fa57d
7 changed files with 77 additions and 4 deletions
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
# MySQL Docker compose file for development purposes. DO NOT USE IN PRODUCTION!
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
lighthouse-db:
|
||||
image: mysql
|
||||
environment:
|
||||
MYSQL_DATABASE: 'lighthouse'
|
||||
MYSQL_ROOT_PASSWORD: 'lighthouse'
|
||||
ports:
|
||||
- '3306:3306'
|
||||
expose:
|
||||
- '3306' # Expose port to localhost:3306
|
||||
volumes:
|
||||
- lighthouse-db:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
lighthouse-db:
|
Loading…
Add table
Add a link
Reference in a new issue