mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
1d523b8bdd
commit
14b6aac5cc
2 changed files with 13 additions and 3 deletions
6
Dockerfile.mariadb
Normal file
6
Dockerfile.mariadb
Normal file
|
@ -0,0 +1,6 @@
|
|||
# File: Dockerfile.mariadb
|
||||
|
||||
FROM mariadb:latest
|
||||
|
||||
# Set correct permissions for /tmp directory
|
||||
RUN chmod 1777 /tmp
|
|
@ -131,7 +131,9 @@ services:
|
|||
- app_net
|
||||
|
||||
database:
|
||||
image: "mariadb:latest"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.mariadb
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
|
||||
|
@ -158,7 +160,9 @@ services:
|
|||
- app_net
|
||||
|
||||
database_encoder:
|
||||
image: "mariadb:latest"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.mariadb
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
|
||||
|
@ -246,4 +250,4 @@ networks:
|
|||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: "${NETWORK_SUBNET:-172.21.1.0/24}"
|
||||
- subnet: "${NETWORK_SUBNET:-172.21.1.0/16}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue