diff --git a/database-compose.yml b/database-compose.yml new file mode 100644 index 0000000..bd74b3a --- /dev/null +++ b/database-compose.yml @@ -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"