aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r--docker-compose.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 0c4c746..4afde36 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -3,7 +3,7 @@ services:
scale-api:
image: "node:latest"
container_name: scale-api
- user: "node"
+ user: "root"
working_dir: /home/node/app
environment:
- NODE_ENV=production
@@ -16,7 +16,7 @@ services:
command: "npm run dev"
db:
image: postgres:latest
- container_name: sclale-postgres
+ container_name: scale-postgres
environment:
- POSTGRES_USER=scale
- POSTGRES_PASSWORD=secret