Files
gb-site/deploy/docker-compose.dev.yml
Ivan Liashkevich d4981130ec
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful
Update R2 bucket name to 'gb-bucket' in Docker Compose files
2026-02-10 02:40:52 +02:00

39 lines
1.1 KiB
YAML

services:
gb-dev-frontend:
build:
context: ../frontend
args:
- NEXT_PUBLIC_POSTHOG_KEY=phc_pe0mP58n724h9eFxanbGIUsfMyS14gnAmr5tYez9V3Q
- NEXT_PUBLIC_POSTHOG_HOST=https://eu.i.posthog.com
- NEXT_PUBLIC_CDN_URL=https://cdn.goodbrick.com.ua
container_name: gb-dev-frontend
restart: unless-stopped
ports:
- "127.0.0.1:3200:3000"
environment:
- NODE_ENV=production
- INTERNAL_API_URL=http://gb-dev-backend:5000
networks:
- app-network
gb-dev-backend:
build: ../backend
container_name: gb-dev-backend
restart: unless-stopped
ports:
- "127.0.0.1:5200:5000"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__Default=Host=postgres;Port=5432;Database=dev_db;Username=dev_user;Password=dev_pass_vB6nM3qP8yW2rT9k
- R2__AccountId=${R2_ACCOUNT_ID}
- R2__AccessKeyId=${R2_ACCESS_KEY_ID}
- R2__SecretAccessKey=${R2_SECRET_ACCESS_KEY}
- R2__BucketName=${R2_BUCKET_NAME:-gb-bucket}
- R2__PublicUrl=https://cdn.goodbrick.com.ua
networks:
- app-network
networks:
app-network:
external: true