Skip to content

Commit

Permalink
created local postgres for Strapi
Browse files Browse the repository at this point in the history
  • Loading branch information
nroh555 committed Jun 8, 2024
1 parent b5c0fc0 commit 45b08fc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions strapi/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ coverage
############################

.env
.env.production
.env.development
license.txt
exports
.strapi
Expand Down
1 change: 1 addition & 0 deletions strapi/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ coverage
############################

.env
.env.production
.env.development
license.txt
exports
Expand Down
20 changes: 20 additions & 0 deletions strapi/postgres/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: "3.1"

services:
db:
image: postgres
restart: always
environment:
POSTGRES_USER: AUIS
POSTGRES_PASSWORD: GuryIsGoat
POSTGRES_DB: AUIS
ports:
- 5433:5432
expose:
- 5432

adminer:
image: adminer
restart: always
ports:
- 8080:8080

0 comments on commit 45b08fc

Please sign in to comment.