Browse Source

cambio de puerto expuesto para evitar colision

master
Ignacio Falco 4 years ago
parent
commit
410cf77d94
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      docker-compose.yml

+ 4
- 3
docker-compose.yml View File

2
 
2
 
3
 volumes:
3
 volumes:
4
   redis-data:
4
   redis-data:
5
+  postgres-data:
5
 
6
 
6
 services:
7
 services:
7
   postgres:
8
   postgres:
8
     image: postgres:11.8
9
     image: postgres:11.8
9
-    container_name: postgres
10
+    container_name: postgres-scalelite
10
     restart: unless-stopped
11
     restart: unless-stopped
11
     ports:
12
     ports:
12
-      - "127.0.0:5432:5432"
13
+      - "127.0.0:54320:5432"
13
     volumes:
14
     volumes:
14
       - ./db:/var/lib/postgresql/data
15
       - ./db:/var/lib/postgresql/data
15
     environment:
16
     environment:
21
     container_name: redis
22
     container_name: redis
22
     restart: on-failure
23
     restart: on-failure
23
     ports:
24
     ports:
24
-      - 127.0.0.1:6379:6379
25
+      - 127.0.0.1:63790:6379
25
     volumes:
26
     volumes:
26
       - redis-data:/data
27
       - redis-data:/data
27
 
28
 

Loading…
Cancel
Save