Skip to content

Commit

Permalink
Revert "Small Docker compose file improvements" (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
alchalade authored Jan 24, 2024
1 parent cf28926 commit 9e2e0e9
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
version: "3.1"

services:
laravel:
'laravel':
container_name: laravel
build:
context: Docker/
Expand All @@ -18,7 +18,7 @@ services:
- ./Website/config/php/php.ini:/usr/local/etc/php/php.ini
- ./Website/htdocs:/var/www/html

ui:
'ui':
container_name: ui
build:
context: ./Website/ui/
Expand All @@ -29,7 +29,7 @@ services:
- ./Website/ui:/usr/app/
- frontend_node_modules:/usr/app/node_modules/

cron:
'cron':
container_name: cron_job
build:
context: Docker/
Expand All @@ -44,7 +44,7 @@ services:
- ./Website/config/php/php.ini:/usr/local/etc/php/php.ini
- ./Website/htdocs:/var/www/html

worker:
'worker':
container_name: worker
restart: unless-stopped
build:
Expand All @@ -67,19 +67,18 @@ services:
volumes:
- ./Website/htdocs/mpmanager:/app

redis:
container_name: redis
'redis':
image: redis:5
volumes:
- redis_data:/data
- ./redis/:/data

maria:
'maria':
container_name: maria
image: mariadb:10.3
env_file:
- ./Docker/.env
volumes:
- mariadb_data:/var/lib/mysql
- ./DB/mysql:/var/lib/mysql
ports:
- 3307:3306

Expand Down Expand Up @@ -111,5 +110,3 @@ services:

volumes:
frontend_node_modules:
mariadb_data:
redis_data:

0 comments on commit 9e2e0e9

Please sign in to comment.