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