Split compose dev/prod and relax contact form friction.
Use compose.dev.yaml and compose.prod.yaml with fixed Go cache mounts, block sudo make dev, build Air outside app/tmp for rootless Docker, soften English spam checks, and simplify contact error copy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
27
compose.prod.yaml
Normal file
27
compose.prod.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# Production website (built image, gallery on host).
|
||||
# Run: make up
|
||||
|
||||
services:
|
||||
website:
|
||||
image: technical.kiwi/website
|
||||
container_name: technicalkiwi
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./app/images:/app/images
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
IMAGES_DIR: /app/images
|
||||
networks:
|
||||
- caddy
|
||||
labels:
|
||||
caddy: technical.kiwi
|
||||
caddy.reverse_proxy: "{{upstreams 8080}}"
|
||||
caddy.tls: "admin@technical.kiwi"
|
||||
|
||||
networks:
|
||||
caddy:
|
||||
external: true
|
||||
name: caddy
|
||||
Reference in New Issue
Block a user