Initial docker conversion commit

This commit is contained in:
2026-02-13 16:07:02 -03:00
parent 622fe6e6fe
commit 36ff5d0c1a
17 changed files with 686 additions and 0 deletions

34
docker-compose.yml Normal file
View File

@@ -0,0 +1,34 @@
services:
service:
image: git.mifi.dev/...:${IMAGE_TAG:-latest}
container_name: service
environment:
- ENV_NAME=value
healthcheck:
test:
[
'CMD',
'/usr/local/bin/healthcheck.sh',
'--connect',
'--innodb_initialized'
]
retries: 10
start_period: 20s
networks:
- network
volumes:
- volume:/var/lib/...
- other_volume:/var/lib/...
depends_on:
- other service
restart: unless-stopped
networks:
network:
external: true
volumes:
volume:
external: true
other_volume:
external: false