App now builds with docker
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version: '0.3' # Use a recent version
|
||||
version: '3.8' # Use a recent version
|
||||
|
||||
services:
|
||||
# Your Rust Application Service
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
# RUST_LOG: info # Example: Set log level
|
||||
# IMPORTANT: Configure DATABASE_URL to connect to the 'db' service
|
||||
# The hostname 'db' matches the service name defined below.
|
||||
DATABASE_URL: postgresql://icarus_op_test:mypassword@db:5432/icarus_auth_test
|
||||
DATABASE_URL: postgresql://icarus_op:password@db:5432/icarus_auth
|
||||
# Add any other environment variables your app needs
|
||||
# APP_HOST: 0.0.0.0
|
||||
# APP_PORT: 3000
|
||||
@@ -29,9 +29,9 @@ services:
|
||||
container_name: icarus_auth_db # Optional: Give the container a specific name
|
||||
environment:
|
||||
# These MUST match the user, password, and database name in the DATABASE_URL above
|
||||
POSTGRES_USER: icarus_op_test
|
||||
POSTGRES_USER: icarus_op
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: icarus_auth_test
|
||||
POSTGRES_DB: icarus_auth
|
||||
volumes:
|
||||
# Persist database data using a named volume
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
Reference in New Issue
Block a user