50 lines
920 B
YAML
50 lines
920 B
YAML
version: '3.9'
|
|
|
|
networks:
|
|
public:
|
|
external: true
|
|
|
|
volumes:
|
|
pulse-libs-data:
|
|
projects-landing-data:
|
|
|
|
services:
|
|
# ─── Serviços existentes (mantidos) ───
|
|
games-demo:
|
|
image: nginx:alpine
|
|
networks: [public]
|
|
deploy:
|
|
replicas: 1
|
|
update_config:
|
|
parallelism: 1
|
|
delay: 10s
|
|
restart_policy:
|
|
condition: on-failure
|
|
max_attempts: 3
|
|
|
|
projects-landing:
|
|
image: projects-landing:latest
|
|
networks: [public]
|
|
deploy:
|
|
replicas: 1
|
|
update_config:
|
|
parallelism: 1
|
|
delay: 10s
|
|
restart_policy:
|
|
condition: on-failure
|
|
max_attempts: 3
|
|
|
|
pulse-libs:
|
|
image: pulse-libs:latest
|
|
command: node server.mjs
|
|
networks: [public]
|
|
deploy:
|
|
replicas: 2
|
|
update_config:
|
|
parallelism: 1
|
|
delay: 10s
|
|
restart_policy:
|
|
condition: on-failure
|
|
max_attempts: 3
|
|
|