695dad2770
Uses registry image instead of build context. CI will push to gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
18 lines
436 B
YAML
18 lines
436 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
portfolio:
|
|
image: gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
|
|
container_name: davidaragon-portfolio
|
|
ports:
|
|
- "8081:80"
|
|
restart: unless-stopped
|
|
environment:
|
|
- NODE_ENV=production
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/"]
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 5s
|