All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Les volumes ../site, ../content, ../public montés dans docker-compose écrasaient les fichiers du conteneur avec des chemins host inexistants. Retour à la config d'origine. Le git sync sera configuré ultérieurement quand le serveur aura un clone avec accès push. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
832 B
YAML
26 lines
832 B
YAML
name: librodrome
|
|
services:
|
|
app:
|
|
build:
|
|
context: ../
|
|
dockerfile: docker/Dockerfile
|
|
target: production
|
|
environment:
|
|
NODE_ENV: ${NODE_ENV:-production}
|
|
NUXT_PUBLIC_SITE_URL: ${NUXT_PUBLIC_SITE_URL:-https://librodrome.org}
|
|
NUXT_ADMIN_PASSWORD: ${NUXT_ADMIN_PASSWORD}
|
|
NUXT_ADMIN_SECRET: ${NUXT_ADMIN_SECRET}
|
|
ADMIN_GIT_SYNC: ${ADMIN_GIT_SYNC:-false}
|
|
ports:
|
|
- 3000
|
|
volumes:
|
|
- ./data:/src/data
|
|
- ./public:/src/public
|
|
restart: always
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.librodrome.rule=Host(`librodrome.org`)"
|
|
- "traefik.http.routers.librodrome.entrypoints=websecure"
|
|
- "traefik.http.routers.librodrome.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.librodrome.loadbalancer.server.port=3000"
|