docker-compose.yml (view raw)
1version: "3"
2services:
3 app:
4 image: octree/caroster
5 build:
6 context: .
7 ports:
8 - 8080:80
9 environment:
10 STRAPI_URL: http://localhost:8080
11 DATABASE_HOST: psql
12 DATABASE_NAME: caroster
13 DATABASE_USERNAME: postgres
14 DATABASE_PASSWORD: 6Akfg28GAU
15 APP_KEYS: toBeModified1,toBeModified2
16 API_TOKEN_SALT: tobemodified
17 ADMIN_JWT_SECRET: tobemodified
18 JWT_SECRET: tobemodified
19 INIT_ADMIN_USERNAME: admin
20 INIT_ADMIN_PASSWORD: caroster
21 INIT_ADMIN_FIRSTNAME: Admin
22 INIT_ADMIN_LASTNAME: Caroster
23 INIT_ADMIN_EMAIL: admin@example.org
24
25 ## Set your SMTP configuration
26 # SMTP_HOST:
27 # SMTP_PORT:
28 # SMTP_USERNAME:
29 # SMTP_PASSWORD:
30
31 psql:
32 image: postgres
33 volumes:
34 - psql_data:/var/lib/postgresql/data
35 environment:
36 POSTGRES_PASSWORD: 6Akfg28GAU
37 POSTGRES_DB: caroster
38
39volumes:
40 psql_data: