Skip to content

Commit

Permalink
use bind volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
FarisZR committed Oct 21, 2024
1 parent 9ccdb8c commit 3fa88e6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions aosus-wordpress/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
default:
web:
volumes:
- html:/var/www/html:rw
- /home/aosus/aosus-wordpress/html:/var/www/html:rw
configs:
- source: custom-ini
target: /usr/local/etc/php/conf.d/custom.ini
Expand All @@ -35,11 +35,7 @@ services:
#MARIADB_RANDOM_ROOT_PASSWORD: '1'
MARIADB_ROOT_PASSWORD: (aosus_wordpress_mariadb_root_password)
volumes:
- mariadb:/var/lib/mysql

volumes:
mariadb:
html:
- /home/aosus/aosus-wordpress/mariadb:/var/lib/mysql

configs:
custom-ini:
Expand Down

0 comments on commit 3fa88e6

Please sign in to comment.