-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.override.yml
More file actions
34 lines (34 loc) · 929 Bytes
/
compose.override.yml
File metadata and controls
34 lines (34 loc) · 929 Bytes
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
services:
server:
build: .
command: bash -l -c "npm install && npm run dev"
environment:
- AWS_S3_ACCESS_KEY_ID=minioadmin
- AWS_S3_SECRET_ACCESS_KEY=minioadmin
- AWS_S3_BUCKET=app
- AWS_S3_ENDPOINT=http://storage:9000
- AWS_S3_REGION=us-east-1
- AWS_S3_SIGNER_ENDPOINT=http://localhost:9000
- DATABASE_URL=postgresql://postgres@db/app
- SMTP_HOST=mail
- SMTP_PORT=1025
- SMTP_USER=
- SMTP_PASS=
networks:
- full-stack-starter
ports:
- 3000:3000 # fastify
- 3333:3333 # vite
- 5555:5555 # prisma studio
depends_on:
- db
- mail
- storage
volumes:
- .:/opt/node/app
- /opt/node/app/node_modules
- /opt/node/app/server/node_modules
- /opt/node/app/client/node_modules
- /var/run/docker.sock:/var/run/docker.sock
- ~/.aws:/root/.aws
- ~/.ssh:/root/.ssh