Tots els compose
This commit is contained in:
28
astro/docker-compose.yml
Normal file
28
astro/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
# /opt/stacks/astro-web/docker-compose.yml
|
||||
|
||||
services:
|
||||
|
||||
astro-web:
|
||||
container_name: astro-web
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: astro-web:local # Nom explícit per a la imatge buildada
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TZ: Europe/Madrid
|
||||
ports:
|
||||
- "8087:80" # Només local → via Nginx Proxy Manager
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
networks:
|
||||
- shared_net
|
||||
|
||||
networks:
|
||||
shared_net:
|
||||
external: true
|
||||
name: shared_net
|
||||
Reference in New Issue
Block a user