2024-03-30 23:23:33 +01:00
|
|
|
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"
|
2024-04-02 00:21:15 +02:00
|
|
|
volumes:
|
|
|
|
- cdn:/backend/cdn
|
2024-03-30 23:23:33 +01:00
|
|
|
ulimits:
|
|
|
|
nofile:
|
|
|
|
soft: 65536
|
|
|
|
hard: 65536
|
|
|
|
front:
|
|
|
|
build: frontend/.
|
2024-04-02 00:21:15 +02:00
|
|
|
volumes:
|
|
|
|
- cdn:/app/front/dist/cdn
|
2024-03-30 23:23:33 +01:00
|
|
|
ports:
|
|
|
|
- "8000:8080"
|
2024-04-02 00:21:15 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
cdn:
|