CLAUDE: Fix YAML syntax in docker-compose.yml - comment out API service properly
This commit is contained in:
parent
39a7d59fcd
commit
3e0445c70a
@ -37,27 +37,27 @@ services:
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
Paper Dynasty API (optional - can run locally with 'uvicorn app.main:app --reload')
|
||||
Uncomment this section if you want to run the API in Docker
|
||||
api:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
container_name: pd_api
|
||||
volumes:
|
||||
- ./storage:/usr/src/app/storage
|
||||
- ./logs:/usr/src/app/logs
|
||||
ports:
|
||||
- "8000:80"
|
||||
environment:
|
||||
- DATABASE_TYPE=postgresql
|
||||
- POSTGRES_HOST=pd_postgres
|
||||
- POSTGRES_DB=${POSTGRES_DB:-pd_master}
|
||||
- POSTGRES_USER=${POSTGRES_USER:-pd_admin}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-pd_dev_password}
|
||||
- LOG_LEVEL=${LOG_LEVEL:-INFO}
|
||||
- API_TOKEN=${API_TOKEN:-dev_token}
|
||||
depends_on:
|
||||
- postgres
|
||||
# Paper Dynasty API (optional - can run locally with 'uvicorn app.main:app --reload')
|
||||
# Uncomment this section if you want to run the API in Docker
|
||||
# api:
|
||||
# build: .
|
||||
# restart: unless-stopped
|
||||
# container_name: pd_api
|
||||
# volumes:
|
||||
# - ./storage:/usr/src/app/storage
|
||||
# - ./logs:/usr/src/app/logs
|
||||
# ports:
|
||||
# - "8000:80"
|
||||
# environment:
|
||||
# - DATABASE_TYPE=postgresql
|
||||
# - POSTGRES_HOST=pd_postgres
|
||||
# - POSTGRES_DB=${POSTGRES_DB:-pd_master}
|
||||
# - POSTGRES_USER=${POSTGRES_USER:-pd_admin}
|
||||
# - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-pd_dev_password}
|
||||
# - LOG_LEVEL=${LOG_LEVEL:-INFO}
|
||||
# - API_TOKEN=${API_TOKEN:-dev_token}
|
||||
# depends_on:
|
||||
# - postgres
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user