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 NEXTAUTH_SECRET: tobemodified
20 NEXTAUTH_URL: http://localhost:8080/api/nauth
21 NEXTAUTH_URL_INTERNAL: http://localhost:3000/api/nauth
22 INIT_ADMIN_USERNAME: admin
23 INIT_ADMIN_PASSWORD: caroster
24 INIT_ADMIN_FIRSTNAME: Admin
25 INIT_ADMIN_LASTNAME: Caroster
26 INIT_ADMIN_EMAIL: admin@example.org
27 MAPBOX_URL: https://api.mapbox.com/
28 MAPBOX_TOKEN: # TO SET
29
30 ## Set your SMTP configuration
31 # SMTP_HOST:
32 # SMTP_PORT:
33 # SMTP_USERNAME:
34 # SMTP_PASSWORD:
35
36 psql:
37 image: postgres
38 volumes:
39 - psql_data:/var/lib/postgresql/data
40 environment:
41 POSTGRES_PASSWORD: 6Akfg28GAU
42 POSTGRES_DB: caroster
43
44volumes:
45 psql_data: