-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 loc) · 1.24 KB
/
docker-compose.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
version: "3.1"
services:
db:
image: postgres:15.3-alpine3.18
container_name: db
restart: always
platform: linux/amd64
networks:
- trpc_nuxt_prisma_starter_net
ports:
- "5432:5432"
environment:
POSTGRES_USER: "johndoe"
POSTGRES_PASSWORD: "LAaiVZ3xwKkR"
volumes:
- "./.volumes/db:/var/lib/postgresql/data"
nuxt:
image: nuxt
container_name: nuxt
platform: linux/amd64
networks:
- trpc_nuxt_prisma_starter_net
restart: always
depends_on:
- db
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
DATABASE_URL: "postgresql://johndoe:[email protected]:5432/trpc_nuxt_prisma_starter?schema=public"
AUTH_ORIGIN: "http://localhost:3000"
NUXT_HOST: "http://localhost:3000"
NITRO_PORT: 3000
NEXTAUTH_URL: "http://localhost:3000"
AUTH_SECRET: "MoYvopp9A84V"
IdentityServer4_Issuer: "http://xxx.aaaa.com:4500"
IdentityServer4_CLIENT_ID: "SINTHTT1112323232CODE"
IdentityServer4_CLIENT_SECRET: "SGTSKT-h6g8-7eba-1d18323232a"
volumes:
- "./.volumes/nuxt/resource:/app/resource"
- "./.volumes/nuxt/files:/app/files"
networks:
trpc_nuxt_prisma_starter_net: