Administrator 4 mesi fa
parent
commit
5db9e29f52
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 0 0
      db_init/lahelice20250819.sql
  2. 4 1
      docker-compose.yml

lahelice20250819.sql → db_init/lahelice20250819.sql Vedi File


+ 4 - 1
docker-compose.yml Vedi File

9
       POSTGRES_PASSWORD: 7qUNs4q5c3U7KTrehv0V
9
       POSTGRES_PASSWORD: 7qUNs4q5c3U7KTrehv0V
10
       POSTGRES_DB: factorytracedb
10
       POSTGRES_DB: factorytracedb
11
     volumes:
11
     volumes:
12
-      - ./db/lahelice20250819.sql:/docker-entrypoint-initdb.d/lahelice20250819.sql
12
+      - ./db_init/lahelice20250819.sql:/docker-entrypoint-initdb.d/lahelice20250819.sql
13
+      - pgdata:/var/lib/postgresql/data
13
     ports:
14
     ports:
14
       - "5432:5432"
15
       - "5432:5432"
15
     networks:
16
     networks:
44
 networks:
45
 networks:
45
   net-vespot:
46
   net-vespot:
46
     driver: bridge
47
     driver: bridge
48
+volumes:
49
+  pgdata: