diff --git a/docker-compose.yml b/docker-compose.yml index b3283a2a9..8b1378917 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,45 +1 @@ -services: - # PostgreSQL Database Service - db: - image: postgres:14 - container_name: fider_db - restart: always - volumes: - - /var/fider/pg_data:/var/lib/postgresql/data - environment: - POSTGRES_USER: fider - POSTGRES_PASSWORD: s0m3g00dp4ssw0rd - # Fider Application Service (custom fork) - app: - # Instead of using the public image, we build from your local Dockerfile - build: . - container_name: fider_app - depends_on: - - db - restart: always - ports: - - "3001:3000" # Access the app on http://:3001 - environment: - # Replace with your actual domain/IP and port (if necessary) - BASE_URL: http://localhost:3001 - - # Postgres connection string - DATABASE_URL: postgres://fider:s0m3g00dp4ssw0rd@db:5432/fider?sslmode=disable - - # Change this to a secure JWT secret - JWT_SECRET: a0d1d154cddbe359b11eda6043a3917faa0e986daeee4d7fd026c9f6be96bcaa7 - - # "From" address for all outgoing emails - EMAIL_NOREPLY: noreply@bassel.art - - # Mailgun environment variables (if you’re using Mailgun) - EMAIL_MAILGUN_API: 19012a9047dfd7ec81a3817c3751ac07-2e68d0fb-ed161485 - EMAIL_MAILGUN_DOMAIN: bassel.art - EMAIL_MAILGUN_REGION: US - - # Set the default locale to Arabic, if desired - DEFAULT_LOCALE: ar - -volumes: - pg_data: