forked from DevOps/deploy.stack
add env.cfg configuration, stack.yml compose file and readme documentation for adminer deployment
16 lines
452 B
YAML
16 lines
452 B
YAML
# pull:: docker compose -p adminer --env-file ./adminer/env.cfg -f ./adminer/stack.yml pull
|
|
# run:: docker compose -p adminer --env-file ./adminer/env.cfg -f ./adminer/stack.yml up -d
|
|
|
|
services:
|
|
adminer:
|
|
image: ${IMAGE_TAG}
|
|
container_name: adminer
|
|
restart: unless-stopped
|
|
ports:
|
|
- '8080:8080'
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|