Add database support

This commit is contained in:
jvyden 2021-10-06 12:33:59 -04:00
commit b3532fa57d
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
7 changed files with 77 additions and 4 deletions

19
docker-compose.yml Normal file
View 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: