mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add strapi
This commit is contained in:
parent
3f4e4b3c28
commit
570f3d7f61
@ -393,6 +393,7 @@ A collection of delicious docker recipes.
|
||||
- [x] teamatldocker
|
||||
- [x] confluence
|
||||
- [x] jira
|
||||
- [x] strapi/strapi
|
||||
- [x] amancevice/superset
|
||||
- [x] v2ray/official :cn:
|
||||
- [x] traefik
|
||||
|
2
strapi/README.md
Normal file
2
strapi/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
strapi
|
||||
======
|
30
strapi/docker-compose.yml
Normal file
30
strapi/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
strapi:
|
||||
image: strapi/strapi:3.6.0-alpine
|
||||
ports:
|
||||
- "1337:1337"
|
||||
volumes:
|
||||
- ./data/strapi:/srv/app
|
||||
environment:
|
||||
- DATABASE_CLIENT=postgres
|
||||
- DATABASE_HOST=postgres
|
||||
- DATABASE_PORT=5432
|
||||
- DATABASE_USERNAME=strapi
|
||||
- DATABASE_PASSWORD=strapi
|
||||
- DATABASE_NAME=strapi
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:13.2-alpine
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=strapi
|
||||
- POSTGRES_PASSWORD=strapi
|
||||
- POSTGRES_DB=strapi
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user