Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BasselArt authored Dec 29, 2024
1 parent f4c2956 commit 975e8ad
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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://<server-ip>: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: [email protected]

# 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:

0 comments on commit 975e8ad

Please sign in to comment.