diff --git a/docker-compose.yml b/docker-compose.yml index bf7cccb..c5f7e1a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,8 @@ services: build: context: . dockerfile: Dockerfile - ports: - - "8080:80" + expose: + - "80" environment: DB_HOST: db DB_PORT: 3306 @@ -22,8 +22,8 @@ services: MYSQL_USER: webgis_user MYSQL_PASSWORD: webgis_password MYSQL_ROOT_PASSWORD: root_password - ports: - - "3307:3306" + expose: + - "3306" volumes: - webgis_db_data:/var/lib/mysql - ./migrations:/docker-entrypoint-initdb.d:ro @@ -31,8 +31,8 @@ services: phpmyadmin: image: phpmyadmin:5.2 - ports: - - "8081:80" + expose: + - "80" environment: PMA_HOST: db PMA_PORT: 3306