edit file
This commit is contained in:
+5
-5
@@ -4,9 +4,9 @@ services:
|
|||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
container_name: webgis_app
|
container_name: webgis_app
|
||||||
# Di Coolify, ports tidak perlu di-bind ke host, cukup expose port internal
|
# Mapping port 80 container ke port 80 host (Droplet)
|
||||||
expose:
|
ports:
|
||||||
- "80"
|
- "80:80"
|
||||||
environment:
|
environment:
|
||||||
- DB_HOST=db
|
- DB_HOST=db
|
||||||
- DB_PORT=3306
|
- DB_PORT=3306
|
||||||
@@ -37,8 +37,8 @@ services:
|
|||||||
- PMA_HOST=db
|
- PMA_HOST=db
|
||||||
- PMA_USER=root
|
- PMA_USER=root
|
||||||
- PMA_PASSWORD=rahasia
|
- PMA_PASSWORD=rahasia
|
||||||
expose:
|
ports:
|
||||||
- "80"
|
- "8080:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user