40 lines
912 B
YAML
40 lines
912 B
YAML
# ©AngelaMos | 2026
|
|
# docker-compose.yml
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:18
|
|
environment:
|
|
POSTGRES_USER: cre
|
|
POSTGRES_PASSWORD: cre
|
|
POSTGRES_DB: cre
|
|
ports: ["6022:5432"]
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U cre"]
|
|
interval: 3s
|
|
timeout: 3s
|
|
retries: 10
|
|
|
|
localstack:
|
|
image: localstack/localstack:latest
|
|
environment:
|
|
SERVICES: secretsmanager
|
|
DEBUG: 0
|
|
ports: ["45666:4566"]
|
|
|
|
vault:
|
|
image: hashicorp/vault:latest
|
|
cap_add: [IPC_LOCK]
|
|
environment:
|
|
VAULT_DEV_ROOT_TOKEN_ID: dev-root-token
|
|
VAULT_DEV_LISTEN_ADDRESS: 0.0.0.0:8200
|
|
ports: ["18201:8200"]
|
|
command: vault server -dev
|
|
|
|
fake-github:
|
|
image: python:3.13-alpine
|
|
working_dir: /app
|
|
volumes: ["./fake-github:/app:ro"]
|
|
command: ["sh", "-c", "pip install --quiet flask && python /app/app.py"]
|
|
ports: ["7115:7000"]
|