Browse Source

chore: Refine docker-compose

Miguel Ángel Moreno 1 year ago
parent
commit
f384d197fd
1 changed files with 6 additions and 2 deletions
  1. 6 2
      docker-compose.yml

+ 6 - 2
docker-compose.yml

@@ -1,7 +1,11 @@
 version: "3"
 services:
   tubo:
-    build: .
-    restart: unless-stopped
+    container_name: tubo
+    hostname: tubo
+    build:
+      context: .
+      dockerfile: Dockerfile
     ports:
       - 3000:3000
+    restart: always