32 lines
624 B
YAML
32 lines
624 B
YAML
services:
|
|
frontend:
|
|
build:
|
|
context: ./costly-api
|
|
image: gitea.forgecore.work/bastian/costly/costly-client:latest
|
|
networks:
|
|
- internal
|
|
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
image: gitea.forgecore.work/bastian/costly/costly-api:latest
|
|
networks:
|
|
- internal
|
|
|
|
nginx:
|
|
image: gitea.forgecore.work/bastian/costly/nginx:latest
|
|
build:
|
|
context: ./nginx
|
|
ports:
|
|
- "8082:80"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
depends_on:
|
|
- frontend
|
|
- backend
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
internal:
|
|
driver: bridge |