Augusto Dwenger J.
1e57aaaeee
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/push/oci-image-build/5 Pipeline was successful
ci/woodpecker/push/oci-image-build/6 Pipeline was successful
ci/woodpecker/push/oci-image-build/7 Pipeline was successful
ci/woodpecker/push/oci-image-build/8 Pipeline was successful
There is no need for the preview feature after the upgrade to JDK 21 to access virtual threads :)
108 lines
1.9 KiB
YAML
108 lines
1.9 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
bot:
|
|
image: git.hhhammer.de/hamburghammer/dchat/bot:latest
|
|
env_file:
|
|
- .env
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
target: bot
|
|
restart: unless-stopped
|
|
networks:
|
|
- db
|
|
user: 1000:1000
|
|
depends_on:
|
|
- db
|
|
- migration
|
|
|
|
web:
|
|
image: git.hhhammer.de/hamburghammer/dchat/web:latest
|
|
env_file:
|
|
- .env
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
target: web
|
|
restart: unless-stopped
|
|
user: 1000:1000
|
|
depends_on:
|
|
- db
|
|
- migration
|
|
ports:
|
|
- 8080:8080
|
|
networks:
|
|
- db
|
|
- web
|
|
|
|
migration:
|
|
image: git.hhhammer.de/hamburghammer/dchat/migration:latest
|
|
env_file:
|
|
- .env
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
target: migration
|
|
user: 1000:1000
|
|
depends_on:
|
|
- db
|
|
networks:
|
|
- db
|
|
|
|
ui:
|
|
image: git.hhhammer.de/hamburghammer/dchat/ui:latest
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
target: ui
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8081:80
|
|
networks:
|
|
- ui
|
|
|
|
caddy:
|
|
image: git.hhhammer.de/hamburghammer/dchat/caddy:latest
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
target: caddy
|
|
restart: unless-stopped
|
|
user: 1000:1000
|
|
depends_on:
|
|
- ui
|
|
- web
|
|
ports:
|
|
- 8082:8080
|
|
networks:
|
|
- ui
|
|
- web
|
|
volumes:
|
|
- caddy_config:/config
|
|
|
|
db:
|
|
image: docker.io/postgres:15-alpine
|
|
env_file:
|
|
- .env
|
|
restart: unless-stopped
|
|
ports:
|
|
- 127.0.0.1:5432:5432
|
|
networks:
|
|
- db
|
|
volumes:
|
|
- ./data/postgres:/var/lib/postgresql/data:rw
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "pg_isready", "-d", $POSTGRES_DB ]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 60s
|
|
|
|
volumes:
|
|
caddy_config:
|
|
|
|
networks:
|
|
db:
|
|
ui:
|
|
web:
|