generated from incubrain/nuxt3-saas-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.strapi.yml
53 lines (50 loc) · 1.3 KB
/
docker-compose.strapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
strapi:
build:
context: ./apps/cms
dockerfile: Dockerfile.develop
image: astrotribe-cms
container_name: astrotribe-strapi
volumes:
- ./apps/cms:/app
- /app/node_modules
ports:
- '1337:1337'
depends_on:
- strapi-db
environment:
- NODE_ENV=development
- HOST=0.0.0.0
- PORT=1337
- APP_KEYS=hzD2uEmNx0oeTio1nkAliA==,2nsFZFEZqwlednX6Z+n8hQ==,uHBO8R2S8TgT+4/5U3D0Ew==,eJg+9WdVPM1wigrr1QAs9A==
- API_TOKEN_SALT=p/A0ZPOuZwizyOfg15aPxw==
- ADMIN_JWT_SECRET=ktIm9hdA8hldeD+XVARBDw==
- JWT_SECRET=/wY80OqWQiVKagSd7uQkvg==
- DATABASE_CLIENT=postgres
- DATABASE_HOST=strapi-db
- DATABASE_PORT=5432
- DATABASE_NAME=strapi
- DATABASE_USERNAME=strapi
- DATABASE_PASSWORD=strapi
- DATABASE_SSL=false
networks:
- astrotribe-strapi-network
strapi-db:
image: postgres:14
container_name: astrotribe-strapi-db
environment:
POSTGRES_USER: strapi
POSTGRES_PASSWORD: strapi
POSTGRES_DB: strapi
volumes:
- strapi-pgdata:/var/lib/postgresql/data
ports:
- '5433:5432'
networks:
- astrotribe-strapi-network
volumes:
strapi-pgdata:
networks:
astrotribe-strapi-network:
name: astrotribe-strapi-network
driver: bridge