2022-12-28 23:19:12 +03:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
2023-03-06 18:15:46 +03:00
|
|
|
twenty:
|
2023-01-27 14:12:04 +03:00
|
|
|
build:
|
|
|
|
context: ../..
|
2023-03-06 18:15:46 +03:00
|
|
|
dockerfile: ./infra/dev/twenty/Dockerfile
|
2023-01-27 14:12:04 +03:00
|
|
|
ports:
|
2023-03-06 18:15:46 +03:00
|
|
|
- "3000:3000"
|
2023-01-27 14:12:04 +03:00
|
|
|
- "3001:3001"
|
|
|
|
- "6006:6006"
|
|
|
|
volumes:
|
|
|
|
- ../../front:/app/front
|
2023-03-06 18:15:46 +03:00
|
|
|
- ../../server:/app/server
|
2023-01-27 14:12:04 +03:00
|
|
|
- ../../infra:/app/infra
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
2022-12-28 23:19:12 +03:00
|
|
|
postgres:
|
|
|
|
build: ./postgres
|
|
|
|
volumes:
|
|
|
|
- db_data:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgrespassword
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
volumes:
|
|
|
|
db_data:
|