2023-02-15 21:45:31 +00:00
|
|
|
services:
|
2024-11-04 12:08:51 +00:00
|
|
|
|
2023-02-15 21:45:31 +00:00
|
|
|
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:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/domainmod/app:/var/www/html
|
2023-02-15 21:45:31 +00:00
|
|
|
ports:
|
|
|
|
- 8080:80
|
2024-11-04 12:08:51 +00:00
|
|
|
expose:
|
|
|
|
- 80
|
2023-02-15 21:45:31 +00:00
|
|
|
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:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/domainmod/database:/config
|
2024-02-15 20:52:49 +00:00
|
|
|
expose:
|
|
|
|
- 3306
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|