incorporates and implements mobile build service functionality.
This commit is contained in:
+20
-2
@@ -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:
|
||||
Reference in New Issue
Block a user