Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Internal docker virtual network #478

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ services:
- server
- webapp
restart: on-failure
networks:
- bigcapital_network

webapp:
container_name: bigcapital-webapp
image: bigcapitalhq/webapp:latest
restart: on-failure
networks:
- bigcapital_network

server:
container_name: bigcapital-server
Expand Down Expand Up @@ -96,7 +100,7 @@ services:
- PLAID_ENV=${PLAID_ENV}
- PLAID_CLIENT_ID=${PLAID_CLIENT_ID}
- PLAID_SECRET_DEVELOPMENT=${PLAID_SECRET_DEVELOPMENT}
- PLAID_SECRET_SANDBOX=${b8cf42b441e110451e2f69ad7e1e9f}
- PLAID_SECRET_SANDBOX=${PLAID_SECRET_SANDBOX}
- PLAID_LINK_WEBHOOK=${PLAID_LINK_WEBHOOK}

# Lemon Squeez
Expand All @@ -120,6 +124,8 @@ services:
- S3_SECRET_ACCESS_KEY=${S3_SECRET_ACCESS_KEY}
- S3_ENDPOINT=${S3_ENDPOINT}
- S3_BUCKET=${S3_BUCKET}
networks:
- bigcapital_network

database_migration:
container_name: bigcapital-database-migration
Expand All @@ -137,6 +143,8 @@ services:
- TENANT_DB_NAME_PERFIX=${TENANT_DB_NAME_PERFIX}
depends_on:
- mysql
networks:
- bigcapital_network

mysql:
container_name: bigcapital-mysql
Expand All @@ -152,6 +160,8 @@ services:
- mysql:/var/lib/mysql
expose:
- '3306'
networks:
- bigcapital_network

mongo:
container_name: bigcapital-mongo
Expand All @@ -161,6 +171,8 @@ services:
- '27017'
volumes:
- mongo:/var/lib/mongodb
networks:
- bigcapital_network

redis:
container_name: bigcapital-redis
Expand All @@ -171,11 +183,15 @@ services:
- '6379'
volumes:
- redis:/data
networks:
- bigcapital_network

gotenberg:
image: gotenberg/gotenberg:7
expose:
- '9000'
networks:
- bigcapital_network

# Volumes
volumes:
Expand All @@ -190,3 +206,8 @@ volumes:
redis:
name: bigcapital_prod_redis
driver: local

# Networks
networks:
bigcapital_network:
driver: bridge