157 lines
8.4 KiB
Plaintext
157 lines
8.4 KiB
Plaintext
date: 2026-11-06T08:19:32.455246+00:00 commit: b063c8780eabf63cdb9da3802f82440750308d6b
|
|
$ sh -c 'make secrets && docker compose --env-file .env config --quiet && make up && docker compose ps -a && docker compose exec -T lb haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg'
|
|
sh scripts/secrets.sh
|
|
создан secrets/postgres_password
|
|
создан secrets/database_url
|
|
создан secrets/cursor_secret
|
|
создан secrets/valkey_password
|
|
создан secrets/valkey.conf
|
|
создан secrets/cache_url
|
|
создан .env из .env.example
|
|
sh scripts/secrets.sh
|
|
docker compose up -d --build --wait
|
|
#1 [internal] load local bake definitions
|
|
#1 reading from stdin 556B done
|
|
#1 DONE 0.0s
|
|
|
|
#2 [internal] load build definition from Dockerfile
|
|
#2 transferring dockerfile: 1.65kB done
|
|
#2 DONE 0.0s
|
|
|
|
#3 [internal] load metadata for ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142
|
|
#3 DONE 0.0s
|
|
|
|
#4 [internal] load metadata for docker.io/library/python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d
|
|
#4 DONE 1.3s
|
|
|
|
#5 [internal] load .dockerignore
|
|
#5 transferring context: 437B done
|
|
#5 DONE 0.0s
|
|
|
|
#6 FROM ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142
|
|
#6 resolve ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142 0.0s done
|
|
#6 DONE 0.0s
|
|
|
|
#7 [builder 1/7] FROM docker.io/library/python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d
|
|
#7 resolve docker.io/library/python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d 0.0s done
|
|
#7 DONE 0.0s
|
|
|
|
#8 [internal] load build context
|
|
#8 transferring context: 630.30kB 0.0s done
|
|
#8 DONE 0.0s
|
|
|
|
#9 [builder 3/7] WORKDIR /build
|
|
#9 CACHED
|
|
|
|
#10 [builder 2/7] COPY --from=ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142 /uv /usr/local/bin/uv
|
|
#10 CACHED
|
|
|
|
#11 [builder 4/7] COPY pyproject.toml uv.lock README.md ./
|
|
#11 CACHED
|
|
|
|
#12 [builder 5/7] RUN uv sync --locked --no-dev --no-install-project --no-editable
|
|
#12 CACHED
|
|
|
|
#13 [builder 6/7] COPY src ./src
|
|
#13 DONE 0.0s
|
|
|
|
#14 [builder 7/7] RUN uv sync --locked --no-dev --no-editable
|
|
#14 0.150 Resolved 64 packages in 0.46ms
|
|
#14 0.172 Building mtusi-messenger @ file:///build
|
|
#14 1.649 Built mtusi-messenger @ file:///build
|
|
#14 1.653 Prepared 1 package in 1.48s
|
|
#14 1.656 Installed 1 package in 2ms
|
|
#14 1.759 Bytecode compiled 1275 files in 103ms
|
|
#14 1.759 + mtusi-messenger==1.3.0 (from file:///build)
|
|
#14 DONE 1.8s
|
|
|
|
#15 [runtime 2/6] RUN groupadd --system --gid 10001 messenger && useradd --system --uid 10001 --gid messenger --no-create-home --shell /usr/sbin/nologin messenger
|
|
#15 CACHED
|
|
|
|
#16 [runtime 3/6] COPY --from=builder --chown=root:root /opt/venv /opt/venv
|
|
#16 DONE 0.2s
|
|
|
|
#17 [runtime 4/6] WORKDIR /app
|
|
#17 DONE 0.0s
|
|
|
|
#18 [runtime 5/6] COPY --chown=root:root alembic.ini ./
|
|
#18 DONE 0.0s
|
|
|
|
#19 [runtime 6/6] COPY --chown=root:root alembic ./alembic
|
|
#19 DONE 0.0s
|
|
|
|
#20 exporting to image
|
|
#20 exporting layers
|
|
#20 exporting layers 1.9s done
|
|
#20 exporting manifest sha256:e8adf966acc7d413bdf49ce1bf151fe77755f737f3d9e418505e31ab94e5da7f
|
|
#20 exporting manifest sha256:e8adf966acc7d413bdf49ce1bf151fe77755f737f3d9e418505e31ab94e5da7f done
|
|
#20 exporting config sha256:197cbec06936e17e6c5d4ad4f98ac37f4cfe4946d1aebd01222d3af2e3addb4f done
|
|
#20 exporting attestation manifest sha256:305d0e13f912391de03a353faff78f5da5ce414266203f0ebf12580feeba2123 done
|
|
#20 exporting manifest list sha256:4257f3a8388281de6d1bdd0208abab9d125965deaf4fc286c796351a01ac27b8 done
|
|
#20 naming to docker.io/library/mtusi-messenger:hlpipe-lab3-validation-20261106 done
|
|
#20 unpacking to docker.io/library/mtusi-messenger:hlpipe-lab3-validation-20261106
|
|
#20 unpacking to docker.io/library/mtusi-messenger:hlpipe-lab3-validation-20261106 0.3s done
|
|
#20 DONE 2.2s
|
|
|
|
#21 resolving provenance for metadata file
|
|
#21 DONE 0.0s
|
|
api Built
|
|
Network hlpipe-lab3-validation-20261106_edge Creating
|
|
Network hlpipe-lab3-validation-20261106_edge Created
|
|
Network hlpipe-lab3-validation-20261106_backend Creating
|
|
Network hlpipe-lab3-validation-20261106_backend Created
|
|
Volume "hlpipe-lab3-validation-20261106_valkeydata" Creating
|
|
Volume "hlpipe-lab3-validation-20261106_valkeydata" Created
|
|
Volume "hlpipe-lab3-validation-20261106_pgdata" Creating
|
|
Volume "hlpipe-lab3-validation-20261106_pgdata" Created
|
|
Container hlpipe-lab3-validation-20261106-valkey-1 Creating
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Creating
|
|
Container hlpipe-lab3-validation-20261106-lb-1 Creating
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Created
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Creating
|
|
Container hlpipe-lab3-validation-20261106-lb-1 Created
|
|
Container hlpipe-lab3-validation-20261106-valkey-1 Created
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Created
|
|
Container hlpipe-lab3-validation-20261106-api-2 Creating
|
|
Container hlpipe-lab3-validation-20261106-api-1 Creating
|
|
Container hlpipe-lab3-validation-20261106-api-1 Created
|
|
Container hlpipe-lab3-validation-20261106-api-2 Created
|
|
Container hlpipe-lab3-validation-20261106-lb-1 Starting
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Starting
|
|
Container hlpipe-lab3-validation-20261106-valkey-1 Starting
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Started
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-valkey-1 Started
|
|
Container hlpipe-lab3-validation-20261106-lb-1 Started
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Healthy
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Starting
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Started
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Exited
|
|
Container hlpipe-lab3-validation-20261106-api-2 Starting
|
|
Container hlpipe-lab3-validation-20261106-api-2 Started
|
|
Container hlpipe-lab3-validation-20261106-api-1 Starting
|
|
Container hlpipe-lab3-validation-20261106-api-1 Started
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-valkey-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-lb-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-api-2 Waiting
|
|
Container hlpipe-lab3-validation-20261106-api-1 Waiting
|
|
Container hlpipe-lab3-validation-20261106-valkey-1 Healthy
|
|
Container hlpipe-lab3-validation-20261106-postgres-1 Healthy
|
|
Container hlpipe-lab3-validation-20261106-migrate-1 Exited
|
|
Container hlpipe-lab3-validation-20261106-api-2 Healthy
|
|
Container hlpipe-lab3-validation-20261106-api-1 Healthy
|
|
Container hlpipe-lab3-validation-20261106-lb-1 Healthy
|
|
scripts/lb-wait.sh
|
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
|
hlpipe-lab3-validation-20261106-api-1 mtusi-messenger:hlpipe-lab3-validation-20261106 "python -m gunicorn …" api 6 seconds ago Up 3 seconds (healthy)
|
|
hlpipe-lab3-validation-20261106-api-2 mtusi-messenger:hlpipe-lab3-validation-20261106 "python -m gunicorn …" api 6 seconds ago Up 3 seconds (healthy)
|
|
hlpipe-lab3-validation-20261106-lb-1 haproxy:3.2.26-alpine@sha256:5893840576071e6217cd52ebdcc14f454c6f7a631056fa6f4e0f40d3cac4215b "docker-entrypoint.s…" lb 6 seconds ago Up 5 seconds (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
|
|
hlpipe-lab3-validation-20261106-migrate-1 mtusi-messenger:hlpipe-lab3-validation-20261106 "alembic upgrade head" migrate 6 seconds ago Exited (0) 3 seconds ago
|
|
hlpipe-lab3-validation-20261106-postgres-1 postgres:17.11-alpine@sha256:266d3c257594e195b309ae9d1805e54c788f1d7b375f56bf6c367aac6c917e7b "docker-entrypoint.s…" postgres 6 seconds ago Up 5 seconds (healthy)
|
|
hlpipe-lab3-validation-20261106-valkey-1 valkey/valkey:8.1.11-alpine@sha256:2602ace2be6569bc2bbb06f873776516ab9089821525be34f4305c67eb9db02a "tini -- docker-entr…" valkey 6 seconds ago Up 5 seconds (healthy)
|
|
|
|
exit: 0
|