[V1.0] Working application, added notifications.
Ready to upload to store.
This commit is contained in:
@@ -47,7 +47,7 @@ services:
|
||||
image: postgres:15 # Use a specific version
|
||||
container_name: MAIA-DB
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data # Persist data using a named volume
|
||||
- db:/var/lib/postgresql/data # Persist data using a named volume
|
||||
environment:
|
||||
- POSTGRES_USER=${DB_USER}
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
@@ -63,11 +63,17 @@ services:
|
||||
image: redis:7 # Use a specific version
|
||||
container_name: MAIA-Redis
|
||||
volumes:
|
||||
- ./redis_data:/data
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- maia_network
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
db: # Named volume for PostgreSQL data
|
||||
driver: local
|
||||
redis_data: # Named volume for Redis data
|
||||
driver: local
|
||||
|
||||
# ----- Network Definition -----
|
||||
networks:
|
||||
maia_network: # Define a custom bridge network
|
||||
|
||||
Reference in New Issue
Block a user