Fix some for production
This commit is contained in:
+7
-13
@@ -2,7 +2,7 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:15-alpine
|
||||
image: docker.arvancloud.ir/postgres:15-alpine
|
||||
container_name: goldbank_db
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||
@@ -16,10 +16,8 @@ services:
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/api/Dockerfile
|
||||
args:
|
||||
NPM_REGISTRY: ${NPM_REGISTRY:-https://mirror.kargadan.ir/repository/npm-group/}
|
||||
context: ./apps/api
|
||||
dockerfile: Dockerfile
|
||||
container_name: goldbank_api
|
||||
depends_on:
|
||||
- db
|
||||
@@ -32,10 +30,8 @@ services:
|
||||
|
||||
admin-panel:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/admin-panel/Dockerfile
|
||||
args:
|
||||
NPM_REGISTRY: ${NPM_REGISTRY:-https://mirror.kargadan.ir/repository/npm-group/}
|
||||
context: ./apps/admin-panel
|
||||
dockerfile: Dockerfile
|
||||
container_name: goldbank_admin_panel
|
||||
ports:
|
||||
- "8080:80"
|
||||
@@ -45,10 +41,8 @@ services:
|
||||
|
||||
user-app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/user-app/Dockerfile
|
||||
args:
|
||||
NPM_REGISTRY: ${NPM_REGISTRY:-https://mirror.kargadan.ir/repository/npm-group/}
|
||||
context: ./apps/user-app
|
||||
dockerfile: Dockerfile
|
||||
container_name: goldbank_user_app
|
||||
ports:
|
||||
- "8081:80"
|
||||
|
||||
Reference in New Issue
Block a user