File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
CRATESFYI_PREFIX = ignored/cratesfyi-prefix
2
- CRATESFYI_DATABASE_URL = postgresql://cratesfyi:password@localhost
2
+ CRATESFYI_DATABASE_URL = postgresql://cratesfyi:password@localhost:15432
3
3
RUST_LOG = cratesfyi,rustwide=info
4
4
AWS_ACCESS_KEY_ID = cratesfyi
5
5
AWS_SECRET_ACCESS_KEY = secret_key
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ Three services are defined:
111
111
| name | access | credentials | description |
112
112
| ------| -------------------------------------------------| ----------------------------| ----------------------------------------|
113
113
| web | http://localhost:3000 | N/A | A container running the docs.rs binary |
114
- | db | postgresql://cratesfyi: password @localhost:5432 / | - | Postgres database used by web |
114
+ | db | postgresql://cratesfyi: password @localhost:15432 / | - | Postgres database used by web |
115
115
| s3 | http://localhost:9000 | ` cratesfyi ` - ` secret_key ` | Minio (simulates AWS S3) used by web |
116
116
117
117
[ docker-compose.yml ] : ./docker-compose.yml
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ services:
33
33
POSTGRES_USER : cratesfyi
34
34
POSTGRES_PASSWORD : password
35
35
ports :
36
- - " 5432:5432"
36
+ # Use a non-standard port on the host to avoid conflicting with existing postgres servers
37
+ - " 15432:5432"
37
38
s3 :
38
39
image : minio/minio
39
40
entrypoint : >
You can’t perform that action at this time.
0 commit comments