Skip to content

Commit

Permalink
fix: Incorrect db user name in docker compose. (serverpod#191)
Browse files Browse the repository at this point in the history
* fix: incorrect db user name in docker compose, reformat config

* fix: remove irrelevant information
  • Loading branch information
hampuslavin authored Oct 18, 2024
1 parent b99ffde commit d873c8b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/06-concepts/18-testing/01-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ postgres_test:
ports:
- '9090:5432'
environment:
POSTGRES_USER: postgres_test
POSTGRES_USER: postgres
POSTGRES_DB: <projectname>_test
POSTGRES_PASSWORD: "<insert database test password>"
volumes:
Expand Down Expand Up @@ -95,7 +95,7 @@ services:
ports:
- '9090:5432'
environment:
POSTGRES_USER: postgres_test
POSTGRES_USER: postgres
POSTGRES_DB: <projectname>_test
POSTGRES_PASSWORD: "<insert database test password>"
volumes:
Expand Down Expand Up @@ -124,11 +124,12 @@ volumes:
3. Create a `test.yaml` file and add it to the `config` directory:

```yaml
# This is the configuration file for your local test environment. All ports are set to zero in this file which makes the server find the next available port. This is needed to enable running tests concurrently.
# This is the configuration file for your test environment.
# All ports are set to zero in this file which makes the server find the next available port.
# This is needed to enable running tests concurrently. To set up your server, you will
# need to add the name of the database you are connecting to and the user name.
# The password for the database is stored in the config/passwords.yaml.
# Configuration for the main API test server.
apiServer:
port: 0
Expand Down

0 comments on commit d873c8b

Please sign in to comment.