incorporates and implements mobile build service functionality.

This commit is contained in:
2026-07-08 15:02:22 -07:00
parent 7869574fe2
commit 2c66a802c0
12 changed files with 491 additions and 23 deletions
+20 -2
View File
@@ -31,8 +31,6 @@ services:
KMTN_ADMIN_USERNAME : "admin"
KMTN_ADMIN_PASSWORD : "123"
KMTN_STATIC_UPSTREAM_URL: http://frontend:80
ports:
- "8000:8000"
volumes:
- pgsocket:/var/run/postgresql
- logs:/logs
@@ -55,7 +53,27 @@ services:
depends_on:
- api
# Flutter build container — runs alongside the api/frontend services.
# The api container SSHes directly into this container over the Docker network.
# Forced to linux/amd64 because Android SDK CLI tools are only published
# for x86_64. On Apple Silicon hosts, Docker runs via Rosetta emulation.
build:
build:
context: ./build
dockerfile: Dockerfile
platform: linux/amd64
restart: unless-stopped
mem_limit: 16g
mem_reservation: 8g
expose:
- "22"
volumes:
- flutter-cache:/home/vscode/.pub-cache
- android-licenses:/opt/android-sdk/licenses
volumes:
pgdata:
pgsocket:
logs:
flutter-cache:
android-licenses: