Files
Suman/.env.production.example
2026-11-22 22:38:10 +01:00

35 lines
1.3 KiB
Plaintext

# ========================================================
# SUMAN D.O.O. — DOCKER PRODUKCIJSKE VARIJABLE OKRUŽENJA
# ========================================================
# Kopirajte ovaj fajl u .env.production ili .env na serveru:
# cp .env.production.example .env
# --- POSTGRESQL BAZA ---
POSTGRES_USER=suman_prod_user
POSTGRES_PASSWORD=PostaviSigurnuLozinkuBaze123!
POSTGRES_DB=suman_prod_db
# --- REDIS CACHE ---
REDIS_PASSWORD=PostaviSigurnuLozinkuRedis123!
# --- MEDUSA V2 BACKEND ---
BACKEND_PORT=9000
JWT_SECRET=generisi_siguran_jwt_secret_najmanje_32_karaktera
COOKIE_SECRET=generisi_siguran_cookie_secret_najmanje_32_karaktera
MEDUSA_BACKEND_URL=https://api.suman.ba
# CORS Konfiguracija (odvojeno zarezima)
STORE_CORS=https://suman.ba,https://suman.hr,http://localhost:8000,http://localhost:8002
ADMIN_CORS=https://admin.suman.ba,http://localhost:9000
AUTH_CORS=https://admin.suman.ba,https://suman.ba,https://suman.hr,http://localhost:9000,http://localhost:8000,http://localhost:8002
# --- STOREFRONT BOSNA I HERCEGOVINA ---
STOREFRONT_BA_PORT=8000
STOREFRONT_BA_BASE_URL=https://suman.ba
MEDUSA_PUBLISHABLE_KEY_BA=pk_b722e44870bc8cc7828d0713980537e95b2e74ff229a529a4b3fa8155035f1f0
# --- STOREFRONT HRVATSKA ---
STOREFRONT_HR_PORT=8002
STOREFRONT_HR_BASE_URL=https://suman.hr
MEDUSA_PUBLISHABLE_KEY_HR=pk_suman_hrvatska_publishable_key