chore: remove hardcoded ports for Coolify
This commit is contained in:
+6
-6
@@ -5,8 +5,8 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: webgis_miskin_app
|
||||
working_dir: /var/www/html
|
||||
ports:
|
||||
- "${APP_PORT:-8000}:8000"
|
||||
expose:
|
||||
- "8000"
|
||||
volumes:
|
||||
- ./:/var/www/html
|
||||
- webgis_vendor:/var/www/html/vendor
|
||||
@@ -30,8 +30,8 @@ services:
|
||||
working_dir: /var/www/html
|
||||
entrypoint: ["sh", "/var/www/html/docker/node/entrypoint.sh"]
|
||||
command: ["npm", "run", "dev", "--", "--host=0.0.0.0", "--port=5173"]
|
||||
ports:
|
||||
- "5173:5173"
|
||||
expose:
|
||||
- "5173"
|
||||
volumes:
|
||||
- ./:/var/www/html
|
||||
- webgis_node_modules:/var/www/html/node_modules
|
||||
@@ -44,8 +44,8 @@ services:
|
||||
mysql:
|
||||
image: mysql:8.4
|
||||
container_name: webgis_miskin_mysql
|
||||
ports:
|
||||
- "${MYSQL_HOST_PORT:-3307}:3306"
|
||||
expose:
|
||||
- "3306"
|
||||
environment:
|
||||
MYSQL_DATABASE: ${DB_DATABASE:-webgis_miskin}
|
||||
MYSQL_USER: ${DB_USERNAME:-webgis}
|
||||
|
||||
Reference in New Issue
Block a user