Skip to content

Commit

Permalink
Merge pull request #68 from UoaWDCC/local/strapi
Browse files Browse the repository at this point in the history
created local postgres for Strapi
  • Loading branch information
gmat224 authored Jun 8, 2024
2 parents b5c0fc0 + 45b08fc commit b58807a
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 b58807a

Please sign in to comment.