chore: configure dev database
This commit is contained in:
parent
c8edc05b27
commit
94f33b062b
2 changed files with 19 additions and 3 deletions
|
@ -2,10 +2,10 @@ import Config
|
|||
|
||||
# Configure your database
|
||||
config :comfycamp, Comfycamp.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
username: "phoenix",
|
||||
password: "simple-password",
|
||||
hostname: "localhost",
|
||||
database: "comfycamp_dev",
|
||||
database: "phoenix",
|
||||
stacktrace: true,
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
pool_size: 10
|
||||
|
|
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
environment:
|
||||
POSTGRES_DB: phoenix
|
||||
POSTGRES_USER: phoenix
|
||||
POSTGRES_PASSWORD: simple-password
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- comfycamp-postgres-dev:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
comfycamp-postgres-dev:
|
Loading…
Reference in a new issue