mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
a8856516bd
* Fix #1038: Logout button should be change to gray * Fix #1059: Replace Inbox by Notifications in navigation * Fixed lint issues * Fixed the import
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
version: "3.9"
|
|
services:
|
|
front:
|
|
build:
|
|
context: ..
|
|
dockerfile: ./infra/prod/front/Dockerfile
|
|
args:
|
|
REACT_APP_SERVER_BASE_URL: "http://localhost:3000"
|
|
ports:
|
|
- "3001:3000"
|
|
labels:
|
|
dev.ergomake.env.replace-arg.REACT_APP_SERVER_BASE_URL: "https://{{ services.server.url }}"
|
|
server:
|
|
build:
|
|
context: ..
|
|
dockerfile: ./infra/prod/server/Dockerfile
|
|
command: sh -c "yarn prisma migrate reset --force && node dist/src/main"
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
DEBUG_MODE: false
|
|
SIGN_IN_PREFILLED: true
|
|
ACCESS_TOKEN_SECRET: "secret_jwt"
|
|
LOGIN_TOKEN_SECRET: "secret_login_token"
|
|
REFRESH_TOKEN_SECRET: "secret_refresh_token"
|
|
PG_DATABASE_URL: "postgres://postgres:postgrespassword@postgres:5432/default?connection_limit=1"
|
|
FRONT_BASE_URL: "http://localhost:3000"
|
|
labels:
|
|
dev.ergomake.env.replace-env.FRONT_BASE_URL: "https://{{ services.server.url }}"
|
|
postgres:
|
|
build: ../infra/dev/postgres
|
|
environment:
|
|
POSTGRES_PASSWORD: postgrespassword
|
|
ports:
|
|
- "5432"
|