Update env sample, and fix db volume
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Database credentials
|
||||
# Database credentials -> update the password to something secure
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=password
|
||||
|
||||
# NSW Fuel API credentials
|
||||
# NSW Fuel API credentials - the defaults here are the sandbox creds -> sign up and change these
|
||||
NSW_FUEL_API_KEY=1MYSRAx5yvqHUZc6VGtxix6oMA2qgfRT
|
||||
NSW_FUEL_API_SECRET=BMvWacw15Et8uFGF
|
||||
NSW_FUEL_API_AUTH_HEADER=MU1ZU1JBeDV5dnFIVVpjNlZHdHhpeDZvTUEycWdmUlQ6Qk12V2FjdzE1RXQ4dUZHRg==
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -5,3 +5,5 @@ backend/appsettings.Production.json
|
||||
backend/.idea*
|
||||
|
||||
.env
|
||||
|
||||
/volumes
|
||||
|
||||
@@ -4,10 +4,6 @@ networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
timescaledb-data:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
backend-prod:
|
||||
image: backend-prod
|
||||
@@ -48,7 +44,7 @@ services:
|
||||
networks:
|
||||
- app-network
|
||||
volumes:
|
||||
- timescaledb-data:/var/lib/postgresql/data
|
||||
- ./volumes/timescaledb-prod:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user