Changed properties name and update build process
This commit is contained in:
1 parent
f51ae465bd
commit
f3d11a5f98
12 files changed
+52
-38
No files matched your search
@@ -1,7 +1,8 @@
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.7
|
||||
restart: always
|
||||
image: mariadb:lts
|
||||
container_name: db
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- netneutrality-db:/var/lib/mysql
|
||||
- ./sql:/docker-entrypoint-initdb.d
|
||||
@@ -10,17 +11,20 @@ services:
|
||||
MYSQL_PASSWORD: 'password'
|
||||
MYSQL_DATABASE: 'netneutrality'
|
||||
MYSQL_ROOT_PASSWORD: 'password'
|
||||
MARIADB_AUTO_UPGRADE: '1'
|
||||
ports:
|
||||
- "3306"
|
||||
networks:
|
||||
- internal
|
||||
|
||||
bot:
|
||||
image: netneutrality:dev
|
||||
container_name: bot
|
||||
build: ./
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
environment:
|
||||
MYSQL_HOST: 'db'
|
||||
MYSQL_USER: 'java'
|
||||
|
||||
Reference in new issue
Block a user