Data volume in docker-compose

This commit is contained in:
Guntis Smaukstelis
2025-03-02 20:58:30 +02:00
parent f0c5d2c42b
commit 6237788486
+4 -1
View File
@@ -39,8 +39,11 @@ services:
context: . context: .
dockerfile: Dockerfile.local dockerfile: Dockerfile.local
volumes: volumes:
- ./:/app - scala-data:/data
ports: ports:
- "9090:8080" - "9090:8080"
depends_on: depends_on:
- postgres - postgres
volumes:
scala-data: