Update compose.yaml
This commit is contained in:
@@ -53,6 +53,24 @@ services:
|
|||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.backend=redis
|
- traefik.backend=redis
|
||||||
|
|
||||||
|
services:
|
||||||
|
# MySQL Database Service
|
||||||
|
db:
|
||||||
|
image: mysql:8.0
|
||||||
|
container_name: mysql_server
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: super_secret_root_password
|
||||||
|
MYSQL_DATABASE: my_database
|
||||||
|
MYSQL_USER: my_db_user
|
||||||
|
MYSQL_PASSWORD: my_db_password
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
volumes:
|
||||||
|
- mysql_data:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
|
||||||
NextCloud:
|
NextCloud:
|
||||||
image: nextcloud:latest
|
image: nextcloud:latest
|
||||||
container_name: NameOfYourContainer
|
container_name: NameOfYourContainer
|
||||||
|
|||||||
Reference in New Issue
Block a user