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

Reverse paths

parent 145a78b3
...@@ -7,8 +7,8 @@ services: ...@@ -7,8 +7,8 @@ services:
- db - db
- app - app
volumes: volumes:
- ${PWD}/nginx/nginx.conf:/etc/nginx/nginx.conf - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ${PWD}/matomo/cert-stuff/ssl:/etc/ssl/private - ./matomo/cert-stuff/ssl:/etc/ssl/private
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
...@@ -17,9 +17,9 @@ services: ...@@ -17,9 +17,9 @@ services:
db: db:
image: mysql:8.0.19 image: mysql:8.0.19
volumes: volumes:
- ${PWD}/data/data:/var/lib/mysql - ./data/data:/var/lib/mysql
- ${PWD}/data/backup:/var/lib/backup - ./data/backup:/var/lib/backup
- ${PWD}/mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql - ./mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql
environment: environment:
- MYSQL_ROOT_PASSWORD=admin - MYSQL_ROOT_PASSWORD=admin
env_file: env_file:
...@@ -31,11 +31,11 @@ services: ...@@ -31,11 +31,11 @@ services:
links: links:
- db - db
volumes: volumes:
- ${PWD}/data/app:/var/www/html - ./data/app:/var/www/html
environment: environment:
- MATOMO_DATABASE_HOST=db - MATOMO_DATABASE_HOST=db
env_file: env_file:
- ${PWD}/mysql/db.env - ./mysql/db.env
ports: ports:
- 5001:80 - 5001:80
restart: on-failure restart: on-failure
...@@ -43,13 +43,13 @@ services: ...@@ -43,13 +43,13 @@ services:
db-dnt: db-dnt:
image: mysql:8.0.19 image: mysql:8.0.19
volumes: volumes:
- ${PWD}/data/data_dnt:/var/lib/mysql - ./data/data_dnt:/var/lib/mysql
- ${PWD}/data/backup_dnt:/var/lib/backup - ./data/backup_dnt:/var/lib/backup
- ${PWD}/mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql - ./mysql/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql
environment: environment:
- MYSQL_ROOT_PASSWORD=admin - MYSQL_ROOT_PASSWORD=admin
env_file: env_file:
- ${PWD}/mysql/db.env - ./mysql/db.env
restart: on-failure restart: on-failure
app-dnt: app-dnt:
...@@ -57,11 +57,11 @@ services: ...@@ -57,11 +57,11 @@ services:
links: links:
- db-dnt - db-dnt
volumes: volumes:
- ${PWD}/data/app_dnt:/var/www/html - ./data/app_dnt:/var/www/html
environment: environment:
- MATOMO_DATABASE_HOST=db-dnt - MATOMO_DATABASE_HOST=db-dnt
env_file: env_file:
- ${PWD}/mysql/db.env - ./mysql/db.env
ports: ports:
- 5011:80 - 5011:80
restart: on-failure 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