Initial docker conversion commit
This commit is contained in:
34
docker-compose.yml
Normal file
34
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user