Skip to content

Commit

Permalink
docker compose rename web service to web_php
Browse files Browse the repository at this point in the history
  • Loading branch information
smajti1 committed Dec 6, 2023
1 parent eed1a31 commit 8bc5851
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ _ide_helper.php
.phpstorm.meta.php
_ide_helper_models.php
.phpunit.result.cache
pgdump*.sql
2 changes: 1 addition & 1 deletion attach.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker compose exec web bash
docker compose exec web_php bash
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ services:
networks:
- fakturomat-net

web:
web_php:
build:
context: .
dockerfile: docker/web/Dockerfile
dockerfile: docker/web_php/Dockerfile
args:
- DOCKER_WORK_DIR=${DOCKER_WORK_DIR}
restart: ${DOCKER_RESTART}
Expand All @@ -38,7 +38,7 @@ services:
- ./docker/Caddyfile:/etc/caddy/Caddyfile
- ./:/var/www
depends_on:
- web
- web_php
networks:
- caddy
- fakturomat-net
Expand Down
2 changes: 1 addition & 1 deletion docker/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
:80 {
root * /var/www/public
encode gzip
php_fastcgi web:9000
php_fastcgi web_php:9000
file_server
}
File renamed without changes.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ currency and taxes set in config/invoice.php

To see logs/debug use

docker compose logs -f web
docker compose logs -f web_php

## Docs
- [development](docs/development.md)
Expand Down

0 comments on commit 8bc5851

Please sign in to comment.