2023-10-21 18:34:50 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
ui:
|
|
|
|
container_name: sfood_ui
|
|
|
|
image: docker.femsci.net:5000/sfood_ui:dev
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: dev.Dockerfile
|
|
|
|
target: ui
|
|
|
|
volumes:
|
|
|
|
- ./:/source
|
|
|
|
environment:
|
|
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
|
|
api:
|
|
|
|
container_name: sfood_api
|
|
|
|
image: docker.femsci.net:5000/sfood_api:dev
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: dev.Dockerfile
|
|
|
|
target: api
|
|
|
|
volumes:
|
|
|
|
- ./:/source
|
|
|
|
environment:
|
|
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
|
|
rp:
|
|
|
|
container_name: caddy
|
|
|
|
image: caddy:alpine
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
2023-10-21 21:38:47 +02:00
|
|
|
- 44420:44420
|
2023-10-21 18:34:50 +02:00
|
|
|
volumes:
|
|
|
|
- ./dev.Caddyfile:/etc/caddy/Caddyfile
|