Skip to content

Commit

Permalink
Persistent data volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Kipjr committed Aug 4, 2024
1 parent c09b4e5 commit 85d0c22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ services:
- '${PROJECT_IP:-0.0.0.0}:${PROJECT_PORT:-8128}:80'
volumes:
- '/etc/localtime:/etc/localtime:ro'
#- data:/var/www/html/controls
- data:/var/www/html/data
networks:
- net
- net
1 change: 1 addition & 0 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
FROM php:8-apache
COPY html/ /var/www/html/
VOLUME ["/var/www/html/data"]

0 comments on commit 85d0c22

Please sign in to comment.