update compose for monorepo
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
This commit is contained in:
+11
-31
@@ -1,32 +1,12 @@
|
||||
services:
|
||||
node:
|
||||
build:
|
||||
context: .build/dev
|
||||
dockerfile: node.Dockerfile
|
||||
hostname: sarlink-portal-dev
|
||||
volumes:
|
||||
- ./:/var/www/html/
|
||||
ports:
|
||||
- 3000:3000
|
||||
prisma-studio:
|
||||
build:
|
||||
context: .build/dev
|
||||
dockerfile: prisma.Dockerfile
|
||||
hostname: sarlink-portal-studio
|
||||
volumes:
|
||||
- ./:/var/www/html/
|
||||
ports:
|
||||
- 5555:5555
|
||||
database:
|
||||
image: postgres:14
|
||||
hostname: sarlink-portal-db
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: testpass123
|
||||
POSTGRES_DB: mydb
|
||||
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
frontend:
|
||||
build:
|
||||
context: .build/dev
|
||||
dockerfile: node.Dockerfile
|
||||
hostname: frontend
|
||||
volumes:
|
||||
- ./:/var/www/html/
|
||||
ports:
|
||||
- 3000:3000
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user