mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-24 01:14:27 +01:00
cleanup repo
This commit is contained in:
40
examples/domainmod/docker-compose.yml
Normal file
40
examples/domainmod/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
version: '3.7'
|
||||
services:
|
||||
app:
|
||||
image: domainmod/domainmod:latest
|
||||
container_name: domainmod_app
|
||||
hostname: domainmod_app
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
- DOMAINMOD_WEB_ROOT=
|
||||
- DOMAINMOD_DATABASE_HOST=db
|
||||
- DOMAINMOD_DATABASE=domainmod
|
||||
- DOMAINMOD_USER=domainmod
|
||||
- DOMAINMOD_PASSWORD=password1
|
||||
volumes:
|
||||
- /mnt/docker-volumes/domainmod/app:/var/www/html
|
||||
ports:
|
||||
- 8080:80
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
image: ghcr.io/linuxserver/mariadb:alpine
|
||||
container_name: domainmod_db
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
- MYSQL_DATABASE=domainmod
|
||||
- MYSQL_USER=domainmod
|
||||
- MYSQL_PASSWORD=password1
|
||||
- MYSQL_ROOT_PASSWORD=password2
|
||||
volumes:
|
||||
- /mnt/docker-volumes/domainmod/database:/config
|
||||
#ports:
|
||||
# - 3306
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user