Skip to content

Commit

Permalink
use a single docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
SniperSister committed Jan 18, 2025
1 parent 45057e8 commit 82cfc67
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 34 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Joomla Automated Updates Server
This is the server for automated updates of Joomla CMS instances running on joomla.org

# Deployment
# Deployment and usage
* Install docker and docker compose
* Check out this repo
* Start the webserver and DB services: `docker-compose -f docker-compose.prod.yml up -d`
Expand Down
28 changes: 0 additions & 28 deletions docker-compose.prod.yml

This file was deleted.

10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ version: '3.1'
services:
mysql:
image: 'mariadb:11'
working_dir: /application
volumes:
- '.:/application'
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=server
- MYSQL_USER=joomla
- MYSQL_PASSWORD=password
ports:
- '21002:3306'
volumes:
- joomla-autoupdates-mariadb:/var/lib/mysql

redis:
image: redis
Expand All @@ -24,5 +23,6 @@ services:
entrypoint: php artisan octane:frankenphp --workers=1 --max-requests=1
ports:
- '21001:8000'
volumes:
- .:/app

volumes:
joomla-autoupdates-mariadb:

0 comments on commit 82cfc67

Please sign in to comment.