-
-
Notifications
You must be signed in to change notification settings - Fork 267
/
docker-compose.yml
41 lines (39 loc) · 1010 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/domainmod/app:/var/www/html
ports:
- 8080:80
expose:
- 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:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/domainmod/database:/config
expose:
- 3306
restart: unless-stopped