Compare commits
3
Commits
7235c49cb4
...
d8f95265e7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8f95265e7 | ||
|
|
125ebc4d11 | ||
|
|
30b6a3d803 |
+2
-1
@@ -54,7 +54,8 @@ COPY --chown=appuser:appuser alembic/ ./alembic/
|
||||
COPY --chown=appuser:appuser scripts/ ./scripts/
|
||||
RUN chmod +x /app/scripts/*.py /app/scripts/docker-entrypoint.sh
|
||||
|
||||
# Copy environment example
|
||||
# Copy environment files
|
||||
COPY --chown=appuser:appuser .env ./.env
|
||||
COPY --chown=appuser:appuser .env.example ./.env.example
|
||||
COPY --chown=appuser:appuser pyproject.toml ./
|
||||
|
||||
|
||||
@@ -19,13 +19,16 @@ class Settings(BaseSettings):
|
||||
JWT_SECRET_KEY: str = "change-me-in-production"
|
||||
|
||||
# Database - Primary (mtgonline app)
|
||||
DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@localhost:5432/mtgo_platform"
|
||||
DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@postgres_platform:5432/mtgo_platform"
|
||||
|
||||
# Database - Secondary (mtgjson data)
|
||||
MTG_DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@localhost:5432/mtg_data"
|
||||
MTG_DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@postgres_mtgdata:5432/mtgdata"
|
||||
|
||||
# Database - Mirror
|
||||
MTG_MIRROR_DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@postgres_mirror:5432/mtgo_mirror"
|
||||
|
||||
# Redis
|
||||
REDIS_URL: str = "redis://localhost:6379/0"
|
||||
REDIS_URL: str = "redis://redis:6379/0"
|
||||
|
||||
# JWT Configuration
|
||||
JWT_ALGORITHM: str = "HS256"
|
||||
|
||||
Reference in New Issue
Block a user