Skip to content

Commit cfdb2ce

Browse files
Aaron Suarezapex-omontgomery
Aaron Suarez
authored andcommitted
Change POSTGRES_HOST to resources-postgres
1 parent 3b86f89 commit cfdb2ce

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
POSTGRES_USER=user_name
22
POSTGRES_PASSWORD=change_password
3-
POSTGRES_HOST=resources-psql
3+
POSTGRES_HOST=resources-postgres
44
POSTGRES_DB=resources-psql
55
FLASK_ENV=development
66
FLASK_DEBUG=1

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DOCKER := docker
22
DOCKER_COMPOSE := docker-compose
33
RESOURCES_CONTAINER := resources-api
4-
RESOURCES_DB := resources-psql
4+
RESOURCES_DB := resources-postgres
55
FLASK := flask
66

77
.PHONY: all

docker-compose.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ services:
1212
ports:
1313
- 8000:8000
1414
links:
15-
- resources-psql
15+
- resources-postgres
1616
depends_on:
17-
- resources-psql
17+
- resources-postgres
1818

19-
resources-psql:
19+
resources-postgres:
2020
image: postgres:10.1-alpine
21-
container_name: resources-psql
21+
container_name: resources-postgres
2222
environment:
2323
- POSTGRES_USER=${POSTGRES_USER}
2424
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}

0 commit comments

Comments
 (0)