Skip to content

Commit

Permalink
Quote environment strings in Docker Compose config (#1451)
Browse files Browse the repository at this point in the history
Fixes #1449
  • Loading branch information
philpem authored Nov 1, 2024
1 parent e5b5464 commit 67f148e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ services:
args:
version: '${WEASYL_VERSION:-}'
environment:
WEASYL_STORAGE_ROOT: storage
WEASYL_RELOAD_ASSETS: true
WEASYL_RELOAD_TEMPLATES: true
WEB_CONCURRENCY: 8
PYTHONWARNINGS: d
PYTHONUNBUFFERED: 1
PROMETHEUS_MULTIPROC_DIR: /weasyl/storage/prometheus
WEASYL_STORAGE_ROOT: 'storage'
WEASYL_RELOAD_ASSETS: 'true'
WEASYL_RELOAD_TEMPLATES: 'true'
WEB_CONCURRENCY: '8'
PYTHONWARNINGS: 'd'
PYTHONUNBUFFERED: '1'
PROMETHEUS_MULTIPROC_DIR: '/weasyl/storage/prometheus'
volumes:
- assets:/weasyl/build:ro
- config:/run/config:ro
Expand Down Expand Up @@ -165,8 +165,8 @@ services:
exec .venv/bin/alembic upgrade head
environment:
# needed for revision f30dc3b5856a
WEASYL_STORAGE_ROOT: /fakepath
ALEMBIC_CONFIG: /run/config/alembic.ini
WEASYL_STORAGE_ROOT: '/fakepath'
ALEMBIC_CONFIG: '/run/config/alembic.ini'
volumes:
- config:/run/config:ro
networks:
Expand Down Expand Up @@ -204,7 +204,7 @@ services:
args:
version: '${WEASYL_VERSION:-}'
environment:
WEASYL_TEST_SQLALCHEMY_URL: postgresql+psycopg2://weasyl@postgres/weasyl_test
WEASYL_TEST_SQLALCHEMY_URL: 'postgresql+psycopg2://weasyl@postgres/weasyl_test'
volumes:
- config:/run/config:ro
- test-cache:/weasyl/.pytest_cache
Expand Down

0 comments on commit 67f148e

Please sign in to comment.