-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
31 lines (28 loc) · 1023 Bytes
/
compose.yaml
File metadata and controls
31 lines (28 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '3.9'
services:
backend:
build:
context: recipe-service
dockerfile: src/main/docker/Dockerfile.dev_and_build
environment:
# - QUARKUS_DATASOURCE_JDBC_URL=jdbc:postgresql://postgres:5432/test
# - QUARKUS_DATASOURCE_USERNAME=username
# - QUARKUS_DATASOURCE_PASSWORD=password
# - QUARKUS_DATASOURCE_DB-KIND=postgresql
restart: unless-stopped
networks:
- application
labels:
- "traefik.enable=true"
- "traefik.http.routers.recipe-service.rule=Host(`recipe-service.sondreandersen.dev`)"
- "traefik.http.routers.recipe-service.entrypoints=websecure"
- "traefik.http.routers.recipe-service.tls.certresolver=le"
frontend:
build:
context: .
dockerfile: food-web/Dockerfile
labels:
- "traefik.enable=true"
- "traefik.http.routers.food-web.rule=Host(`food.sondreandersen.dev`)"
- "traefik.http.routers.food-web.entrypoints=websecure"
- "traefik.http.routers.food-web.tls.certresolver=le"