Skip to content

Commit

Permalink
Use Alpine variant in PostgreSQL example (xwiki#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
J0WI authored and vmassol committed Apr 30, 2019
1 parent de887e5 commit 90f0313
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 10/postgres-tomcat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
- bridge
# The container that runs the database (postgres)
db:
image: "postgres:9.5"
image: "postgres:9.5-alpine"
container_name: xwiki-postgres-db
volumes:
- postgres-data:/var/lib/postgresql/data
Expand Down
2 changes: 1 addition & 1 deletion 11/postgres-tomcat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
- bridge
# The container that runs the database (postgres)
db:
image: "postgres:9.5"
image: "postgres:9.5-alpine"
container_name: xwiki-postgres-db
volumes:
- postgres-data:/var/lib/postgresql/data
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
- bridge
# The container that runs PostgreSQL
db:
image: "postgres:9.5"
image: "postgres:9.5-alpine"
container_name: xwiki-postgres-db
volumes:
- postgres-data:/var/lib/postgresql/data
Expand Down
2 changes: 1 addition & 1 deletion template/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
- MYSQL_PASSWORD=\${DB_PASSWORD}
- MYSQL_DATABASE=\${DB_DATABASE}'''

else if (db == 'postgres') print '''image: "postgres:9.5"
else if (db == 'postgres') print '''image: "postgres:9.5-alpine"
container_name: xwiki-postgres-db
volumes:
- postgres-data:/var/lib/postgresql/data
Expand Down

0 comments on commit 90f0313

Please sign in to comment.