Compose-Library/tabby.compose.yaml.txt
2025-01-25 18:01:48 +01:00

21 lines
No EOL
519 B
Text

services:
tabby:
build: .
restart: always
container_name: tabby-${IP}-${PORT}
depends_on:
- db
ports:
- ${IP}:${PORT}:80
environment:
- DATABASE_URL=mysql://root:${DBPASS}@db/tabby
- PORT=80
- DEBUG=False
- DOCKERIZE_ARGS="-wait tcp://db:3306 -timeout 60s"
db:
image: mariadb:10.7.1
restart: always
environment:
MARIADB_DATABASE: tabby
MYSQL_ROOT_PASSWORD: ${DBPASS}