Skip to content

Commit

Permalink
Update to use postgres client
Browse files Browse the repository at this point in the history
  • Loading branch information
abztrakt committed Feb 12, 2025
1 parent c490026 commit fbe7e52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG DJANGO_CONTAINER_VERSION=2.0.8
FROM us-docker.pkg.dev/uwit-mci-axdd/containers/django-container:${DJANGO_CONTAINER_VERSION} AS app-container

USER root
RUN apt-get update && apt-get install mysql-client libmysqlclient-dev -y
RUN apt-get update && apt-get install libpq-dev -y
USER acait

ADD --chown=acait:acait setup.py /app/
Expand Down
2 changes: 1 addition & 1 deletion docker/dev-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ externalService:
serviceAddress: 34.83.34.217
servicePort: 5432
database:
engine: mysql
engine: postgres
name: api_dev
hostname: spotseeker-dev-db-service
secretName: dev.api.scout.uw.edu-sql-secrets
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# these two can be upgraded when django gets an update
mysqlclient~=1.3
# Using postgres, and don't _think_ psycopg needs to be installed from here
# mysqlclient~=1.3
# this is temporary for testing migrations in upgrade
django-extensions==2.2.*
-e .

0 comments on commit fbe7e52

Please sign in to comment.