From 4f05cbea20ebec512b288c9f496c0859532e0386 Mon Sep 17 00:00:00 2001 From: Madiwka3 Date: Tue, 21 Nov 2023 21:01:18 +0600 Subject: [PATCH] stuff --- docker-compose.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index abe741b..47b4264 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,16 +4,14 @@ services: app: build: app restart: always - links: + depends_on: - "db" ports: - "5000:5000" - environment: - - FLASK_ENV= production db: image: mysql:8.0 - ports: - - "32000:3306" restart: always - environment: - MYSQL_ROOT_PASSWORD: 12345 + expose: + - "3306" +networks: + deqnqe: \ No newline at end of file