Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Nov 13, 2024
1 parent 7352dea commit 8b9df54
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions docker-compose-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,38 +53,38 @@ services:
- app-network
command: streamlit run app.py --global.disableWidgetStateDuplicationWarning true --server.port=8501

# umami:
# image: docker.umami.is/umami-software/umami:postgresql-latest
# container_name: umami
# restart: always
# environment:
# BASE_URL: https://app.batterymodel.com/umami
# DATABASE_URL: postgres://umami:password@umami-db/umami
# DATABASE_TYPE: postgres
# HASH_SALT: ${HASH_SALT}
# ports:
# - "3000:3000"
# networks:
# - app-network
# depends_on:
# - umami-db
umami:
image: docker.umami.is/umami-software/umami:postgresql-latest
container_name: umami
restart: always
environment:
# BASE_PATH: https://app.batterymodel.com/umami
DATABASE_URL: postgres://umami:password@umami-db/umami
DATABASE_TYPE: postgres
HASH_SALT: ${HASH_SALT}
ports:
- "3000:3000"
networks:
- app-network
depends_on:
- umami-db

# umami-db:
# image: postgres:13
# container_name: umami-db
# restart: always
# environment:
# POSTGRES_USER: umami
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# POSTGRES_DB: umami
# networks:
# - app-network
# volumes:
# - umami_db_data:/var/lib/postgresql/data
umami-db:
image: postgres:13
container_name: umami-db
restart: always
environment:
POSTGRES_USER: umami
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: umami
networks:
- app-network
volumes:
- umami_db_data:/var/lib/postgresql/data

# Define volumes at the root level, outside of services
# volumes:
# umami_db_data:
volumes:
umami_db_data:

networks:
app-network:
Expand Down

0 comments on commit 8b9df54

Please sign in to comment.