Skip to content

Commit 82cfc67

Browse files
committed
use a single docker file
1 parent 45057e8 commit 82cfc67

File tree

3 files changed

+6
-34
lines changed

3 files changed

+6
-34
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Joomla Automated Updates Server
22
This is the server for automated updates of Joomla CMS instances running on joomla.org
33

4-
# Deployment
4+
# Deployment and usage
55
* Install docker and docker compose
66
* Check out this repo
77
* Start the webserver and DB services: `docker-compose -f docker-compose.prod.yml up -d`

docker-compose.prod.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ version: '3.1'
22
services:
33
mysql:
44
image: 'mariadb:11'
5-
working_dir: /application
6-
volumes:
7-
- '.:/application'
85
environment:
96
- MYSQL_ROOT_PASSWORD=root
107
- MYSQL_DATABASE=server
118
- MYSQL_USER=joomla
129
- MYSQL_PASSWORD=password
1310
ports:
1411
- '21002:3306'
12+
volumes:
13+
- joomla-autoupdates-mariadb:/var/lib/mysql
1514

1615
redis:
1716
image: redis
@@ -24,5 +23,6 @@ services:
2423
entrypoint: php artisan octane:frankenphp --workers=1 --max-requests=1
2524
ports:
2625
- '21001:8000'
27-
volumes:
28-
- .:/app
26+
27+
volumes:
28+
joomla-autoupdates-mariadb:

0 commit comments

Comments
 (0)