Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Commit 7c94605

Browse files
author
José Postiga
committed
build: fix docker files
1 parent 6d4ee60 commit 7c94605

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

Caddyfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
http://api.laravel-portugal.test,
2-
api.laravel-portugal.pt
1+
http://api.laravel.test,
2+
api.laravel.pt
33

44
root * /srv
55
php_fastcgi app:9000

docker-compose.override-example.yaml

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,21 @@ services:
55
labels:
66
- "traefik.enable=true"
77
- "traefik.http.routers.laravel-portugal.entrypoints=https"
8-
- "traefik.http.routers.laravel-portugal.rule=Host(`api.laravel-portugal.pt`)"
8+
- "traefik.http.routers.laravel-portugal.rule=Host(`api.laravel.pt`)"
99
- "traefik.http.services.laravel-portugal.loadbalancer.healthcheck.path=/health-check"
1010
- "traefik.http.services.laravel-portugal.loadbalancer.healthcheck.interval=60s"
1111
networks:
1212
- web
1313

1414
app:
15+
image: docker.pkg.github.com/laravel-portugal/infrastructure/php:7.4-fpm-dev
1516
networks:
1617
- web
1718

1819
db:
1920
ports:
2021
- 5432:5432
2122

22-
redis:
23-
ports:
24-
- 6379:6379
25-
2623
networks:
2724
web:
2825
external: true

docker-compose.yaml

+1-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- net
1616

1717
app:
18-
image: docker.pkg.github.com/laravel-portugal/infrastructure/php:7.4-fpm-dev
18+
image: docker.pkg.github.com/laravel-portugal/infrastructure/php:7.4-fpm
1919
user: "1000:1000"
2020
expose:
2121
- 9000
@@ -40,15 +40,6 @@ services:
4040
networks:
4141
- data
4242

43-
redis:
44-
image: redis:6.0.9
45-
expose:
46-
- 6379
47-
restart: unless-stopped
48-
command: redis-server --appendonly yes
49-
networks:
50-
- data
51-
5243
networks:
5344
net:
5445
data:

0 commit comments

Comments
 (0)