Skip to content

Commit

Permalink
Volumes bericjtigt
Browse files Browse the repository at this point in the history
  • Loading branch information
epam-vkerkhoff committed May 9, 2024
1 parent b24e5a3 commit 00cb46e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@ matomo_db:
- MYSQL_ROOT_PASSWORD=${MATOMO_MYSQL_ROOT_PASSWORD}
- MYSQL_USER=matomo
- MYSQL_PASSWORD=${MATOMO_DATABASE_PASSWORD}
env_file:
- ./db.env
volumes:
- matomo_mariadb:/var/lib/mysql
restart: unless-stopped
deploy:
placement:
constraints:
- node.role == worker

volumes:
matomo_mariadb:
external: true
matomo_data:
external: true

networks:
public:
Expand Down

0 comments on commit 00cb46e

Please sign in to comment.