Skip to content

Commit

Permalink
Updated docker-compose.yml template
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Mar 5, 2024
1 parent e893ae7 commit a6869a1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ version: "3.9"

services:
mariadb:
container_name: leek_db
hostname: leek_db
image: mariadb:10.10.2-jammy
hostname: mariadb
image: mariadb:10.11.7-jammy
volumes:
- ./data:/var/lib/mysql:rw
restart: always
Expand All @@ -15,14 +14,13 @@ services:
- .env

bot:
container_name: leek_bot
hostname: leek_bot
build: .
hostname: bot
image: ghcr.io/justalemon/leek:latest
depends_on:
mariadb:
condition: service_started
environment:
SQL_HOST: leek_db
SQL_HOST: mariadb
SQL_DB: leek
env_file:
- .env

0 comments on commit a6869a1

Please sign in to comment.