40 lines
919 B
YAML
40 lines
919 B
YAML
name: homarr-workshop
|
|
|
|
services:
|
|
workshop:
|
|
build:
|
|
context: ../..
|
|
dockerfile: apps/workshop/Dockerfile
|
|
target: development
|
|
restart: unless-stopped
|
|
environment:
|
|
PB_ALLOWED_ORIGINS: ${PB_ALLOWED_ORIGINS:-*}
|
|
PORT: ${PB_EXPOSE_PORT:-8090}
|
|
ports:
|
|
- "127.0.0.1:${PB_EXPOSE_PORT:-8090}:${PB_EXPOSE_PORT:-8090}"
|
|
volumes:
|
|
- pb_data:/pb_data
|
|
- ./pb_migrations:/pb_migrations:ro
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
docs:
|
|
profiles:
|
|
- docs
|
|
build:
|
|
context: ../..
|
|
dockerfile: apps/workshop/Dockerfile
|
|
target: production
|
|
environment:
|
|
PB_ALLOWED_ORIGINS: ${PB_ALLOWED_ORIGINS:-*}
|
|
PORT: ${DOCS_EXPOSE_PORT:-3003}
|
|
ports:
|
|
- "127.0.0.1:${DOCS_EXPOSE_PORT:-3003}:${DOCS_EXPOSE_PORT:-3003}"
|
|
volumes:
|
|
- pb_data:/pb_data
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
pb_data:
|