Commit fff6a374 authored by Pepijn Boers's avatar Pepijn Boers
Browse files

Reverse paths

parent 145a78b3
......@@ -7,8 +7,8 @@ services:
- db
- app
volumes:
- ${PWD}/nginx/nginx.conf:/etc/nginx/nginx.conf
- ${PWD}/matomo/cert-stuff/ssl:/etc/ssl/private
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./matomo/cert-stuff/ssl:/etc/ssl/private
ports:
- 80:80
- 443:443
......@@ -17,9 +17,9 @@ services:
db:
image: mysql:8.0.19
volumes:
- ${PWD}/data/data:/var/lib/mysql
- ${PWD}/data/backup:/var/lib/backup
- ${PWD}/mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql
- ./data/data:/var/lib/mysql
- ./data/backup:/var/lib/backup
- ./mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql
environment:
- MYSQL_ROOT_PASSWORD=admin
env_file:
......@@ -31,11 +31,11 @@ services:
links:
- db
volumes:
- ${PWD}/data/app:/var/www/html
- ./data/app:/var/www/html
environment:
- MATOMO_DATABASE_HOST=db
env_file:
- ${PWD}/mysql/db.env
- ./mysql/db.env
ports:
- 5001:80
restart: on-failure
......@@ -43,13 +43,13 @@ services:
db-dnt:
image: mysql:8.0.19
volumes:
- ${PWD}/data/data_dnt:/var/lib/mysql
- ${PWD}/data/backup_dnt:/var/lib/backup
- ${PWD}/mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql
- ./data/data_dnt:/var/lib/mysql
- ./data/backup_dnt:/var/lib/backup
- ./mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql
environment:
- MYSQL_ROOT_PASSWORD=admin
env_file:
- ${PWD}/mysql/db.env
- ./mysql/db.env
restart: on-failure
app-dnt:
......@@ -57,11 +57,11 @@ services:
links:
- db-dnt
volumes:
- ${PWD}/data/app_dnt:/var/www/html
- ./data/app_dnt:/var/www/html
environment:
- MATOMO_DATABASE_HOST=db-dnt
env_file:
- ${PWD}/mysql/db.env
- ./mysql/db.env
ports:
- 5011:80
restart: on-failure
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment