feat(docker): add CORS_ALLOWED_ORIGINS environment variable
This commit is contained in:
@@ -14,6 +14,7 @@ services:
|
|||||||
DB_NAME: ${MYSQL_DATABASE:-visione}
|
DB_NAME: ${MYSQL_DATABASE:-visione}
|
||||||
SMTP_HOST: ${SMTP_HOST:-mailhog}
|
SMTP_HOST: ${SMTP_HOST:-mailhog}
|
||||||
SMTP_PORT: ${SMTP_PORT:-1025}
|
SMTP_PORT: ${SMTP_PORT:-1025}
|
||||||
|
CORS_ALLOWED_ORIGINS: ${CORS_ALLOWED_ORIGINS:-http://localhost:3000}
|
||||||
expose:
|
expose:
|
||||||
- "5555"
|
- "5555"
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user