refactor: 🔥 update docker-compose.yml and remove schema.sql
- Update volume path in docker-compose.yml for init.sql - Remove docker/schema.sql, move schema configuration to init.sql
This commit is contained in:
parent
69ec44032b
commit
6d88e96864
11
CHANGELOG.md
11
CHANGELOG.md
@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
All notable change notes in this project will be documented in this file.
|
All notable change notes in this project will be documented in this file.
|
||||||
|
|
||||||
## [0.1.0] - 2023-04-09
|
## [0.1.0-2] - 2023-04-09
|
||||||
|
### Changed
|
||||||
|
- `docker-compose.yml`: Changed the volume path for the `init.sql` file:
|
||||||
|
- From: `./schema.sql:/docker-entrypoint-initdb.d/schema.sql`
|
||||||
|
- To: `./init.sql:/docker-entrypoint-initdb.d/init.sql`
|
||||||
|
|
||||||
### First release
|
### Removed
|
||||||
|
- `docker/schema.sql`: The file has been removed. The schema configuration has been moved to the `init.sql` file.
|
||||||
- Hello Rating Orama!
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ./schema.sql:/docker-entrypoint-initdb.d/schema.sql
|
- ./init.sql:/docker-entrypoint-initdb.d/schema.sql
|
||||||
- ./data:/var/lib/postgresql/data
|
- ./data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- ratingorama
|
- ratingorama
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user