Compare commits
3 Commits
v0.3.4-dev
...
v0.3.4-dev
Author | SHA1 | Date | |
---|---|---|---|
d4faa7976e | |||
ed77cab700 | |||
2c30abb5c6 |
6
.env.docker.sample
Normal file
6
.env.docker.sample
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
SECRET_KEY=refero34o8rfhfjn983thf39fhc943rf923n3h
|
||||||
|
POSTGRES_AUTH_USER=icarus_op
|
||||||
|
POSTGRES_AUTH_PASSWORD=password
|
||||||
|
POSTGRES_AUTH_DB=icarus_auth_db
|
||||||
|
POSTGRES_AUTH_HOST=auth_db
|
||||||
|
DATABASE_URL=postgresql://${POSTGRES_AUTH_USER}:${POSTGRES_AUTH_PASSWORD}@${POSTGRES_AUTH_HOST}:5432/${POSTGRES_AUTH_DB}
|
10
.env.sample
10
.env.sample
@@ -1,6 +1,6 @@
|
|||||||
SECRET_KEY=refero34o8rfhfjn983thf39fhc943rf923n3h
|
SECRET_KEY=refero34o8rfhfjn983thf39fhc943rf923n3h
|
||||||
POSTGRES_USER=icarus_op_test
|
POSTGRES_AUTH_USER=icarus_op_test
|
||||||
POSTGRES_PASSWORD=password
|
POSTGRES_AUTH_PASSWORD=password
|
||||||
POSTGRES_DB=icarus_auth_test_db
|
POSTGRES_AUTH_DB=icarus_auth_test_db
|
||||||
POSTGRES_HOST=localhost
|
POSTGRES_AUTH_HOST=localhost
|
||||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}
|
DATABASE_URL=postgresql://${POSTGRES_AUTH_USER}:${POSTGRES_AUTH_PASSWORD}@${POSTGRES_AUTH_HOST}:5432/${POSTGRES_AUTH_DB}
|
||||||
|
@@ -19,7 +19,7 @@ argon2 = { version = "0.5.3", features = ["std"] } # Use the latest 0.5.x versio
|
|||||||
rand = { version = "0.9" }
|
rand = { version = "0.9" }
|
||||||
time = { version = "0.3.41", features = ["macros", "serde"] }
|
time = { version = "0.3.41", features = ["macros", "serde"] }
|
||||||
josekit = { version = "0.10.1" }
|
josekit = { version = "0.10.1" }
|
||||||
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.4.1" }
|
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.4.3" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
http-body-util = { version = "0.1.3" }
|
http-body-util = { version = "0.1.3" }
|
||||||
|
@@ -23,9 +23,9 @@ services:
|
|||||||
container_name: icarus_auth_db # Optional: Give the container a specific name
|
container_name: icarus_auth_db # Optional: Give the container a specific name
|
||||||
environment:
|
environment:
|
||||||
# These MUST match the user, password, and database name in the DATABASE_URL above
|
# These MUST match the user, password, and database name in the DATABASE_URL above
|
||||||
POSTGRES_USER: ${POSTGRES_USER:-icarus_op}
|
POSTGRES_USER: ${POSTGRES_AUTH_USER:-icarus_op}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password}
|
POSTGRES_PASSWORD: ${POSTGRES_AUTH_PASSWORD:-password}
|
||||||
POSTGRES_DB: ${POSTGRES_DB:-icarus_auth}
|
POSTGRES_DB: ${POSTGRES_AUTH_DB:-icarus_auth_db}
|
||||||
volumes:
|
volumes:
|
||||||
# Persist database data using a named volume
|
# Persist database data using a named volume
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
Reference in New Issue
Block a user