Adding database compose

This commit is contained in:
Bradley Bickford 2024-12-09 11:49:47 -05:00
parent c66bf96175
commit 7f6f9acd0b

20
database-compose.yml Normal file
View File

@ -0,0 +1,20 @@
version: "3"
services:
mysql:
image: mysql:8
restart: always
env_file: .mysql.env
ports:
- "3306:3306"
volumes:
- "/mysql:/var/lib/mysql"
postgres:
image: postgres:17
restart: always
env_file: .postgres.env
ports:
- "5432:5432"
volumes:
- "/postgres:/var/lib/postgresql/data"