28 lines
631 B
YAML
28 lines
631 B
YAML
version: '3.8'
|
|
services:
|
|
sts-avto:
|
|
build: .
|
|
image: kalugin66/sts-avto
|
|
container_name: sts-avto
|
|
# ports:
|
|
# - "3000:3000"
|
|
networks:
|
|
- applications
|
|
restart: always
|
|
volumes:
|
|
- /docker/sts-avto/data:/app/data:rw
|
|
environment:
|
|
- TZ=Asia/Yekaterinburg
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "http://localhost:3000"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
networks:
|
|
applications:
|
|
external: true
|
|
# docker network create applications
|
|
# docker compose up -d
|
|
# docker compose up -d --build
|
|
# docker compose build --no-cache && docker compose up -d
|