1
0
forked from PGL/Clyde

adding compose for launching properly everything

This commit is contained in:
2024-03-30 23:23:33 +01:00
parent 9e0db361b8
commit 0e26e1a0db
7 changed files with 68 additions and 42 deletions

22
compose.yaml Normal file
View File

@ -0,0 +1,22 @@
services:
db:
image: 'postgres:16'
environment:
- 'POSTGRES_DB=clyde'
- 'POSTGRES_USER=devel'
- 'POSTGRES_PASSWORD=devel'
# Uncomment this to allow connections to the db from outside the container
# ports:
# - '5442:5432'
back:
build: backend/.
ports:
- "8080:8080"
ulimits:
nofile:
soft: 65536
hard: 65536
front:
build: frontend/.
ports:
- "8000:8080"