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