pkmntrade.club/docker-compose_prod.yml
badbl0cks 9c41f63247 Complete refactor of environment configuration and Docker setup for development and production.
- Dev and prod both now run with the same exact docker configuration, except the .env file copied in.
- Removed the `.env` file and added a new `.env.dev` file for development settings, including database configuration and API keys.
- Introduced a `.envrc` file for automatic venv activation.
- Updated `deploy.sh` to utilize `uv` for running management commands and added a command for building Tailwind CSS.
- Created `docker-compose.yml` for local development with PostgreSQL, ensuring proper service dependencies.
- Deleted unnecessary files such as `docker-compose_db_only.yml` and `requirements.txt` to streamline the project structure.
2025-05-05 21:48:59 -07:00

15 lines
No EOL
255 B
YAML

services:
web:
build:
context: .
dockerfile: Dockerfile
args:
ENV_FILE: .env.production
volumes:
- .:/code:z
ports:
- 8000:8000
volumes:
postgres_data:
labels:
- "db_is_resettable_via_script"