File tree Expand file tree Collapse file tree 10 files changed +16
-16
lines changed Expand file tree Collapse file tree 10 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ jobs:
63
63
working-directory : /var/www/app
64
64
65
65
- name : Run the Docker container
66
- run : docker run -d --rm -p 80:80 app:local
66
+ run : docker run -d --rm -p 8000:8000 app:local
67
67
working-directory : /var/www/app
68
68
69
69
- name : Wait for the container
70
70
run : sleep 10s
71
71
72
72
- name : Check application health
73
- run : curl -f -s -o /dev/null -w "%{http_code}" http://localhost
73
+ run : curl -f -s -o /dev/null -w "%{http_code}" http://localhost:8000
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ jobs:
63
63
working-directory : /var/www/app
64
64
65
65
- name : Run the Docker container
66
- run : docker run -d --rm -p 80:80 app:local
66
+ run : docker run -d --rm -p 8000:8000 app:local
67
67
working-directory : /var/www/app
68
68
69
69
- name : Wait for the container
70
70
run : sleep 10s
71
71
72
72
- name : Check application health
73
- run : curl -f -s -o /dev/null -w "%{http_code}" http://localhost
73
+ run : curl -f -s -o /dev/null -w "%{http_code}" http://localhost:8000
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ jobs:
63
63
working-directory : /var/www/app
64
64
65
65
- name : Run the Docker container
66
- run : docker run -d --rm -p 80:80 app:local
66
+ run : docker run -d --rm -p 8000:8000 app:local
67
67
working-directory : /var/www/app
68
68
69
69
- name : Wait for the container
70
70
run : sleep 10s
71
71
72
72
- name : Check application health
73
- run : curl -f -s -o /dev/null -w "%{http_code}" http://localhost
73
+ run : curl -f -s -o /dev/null -w "%{http_code}" http://localhost:8000
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ RUN chmod +x /usr/local/bin/start-container
163
163
164
164
RUN cat deployment/utilities.sh >> ~/.bashrc
165
165
166
- EXPOSE 80
166
+ EXPOSE 8000
167
167
EXPOSE 443
168
168
EXPOSE 443/udp
169
169
EXPOSE 2019
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ docker build -t <image-name>:<tag> -f <your-octane-driver>.Dockerfile .
43
43
44
44
``` bash
45
45
# HTTP mode
46
- docker run -p < port> :80 --rm < image-name> :< tag>
46
+ docker run -p < port> :8000 --rm < image-name> :< tag>
47
47
48
48
# Horizon mode
49
49
docker run -e CONTAINER_MODE=horizon --rm < image-name> :< tag>
@@ -52,13 +52,13 @@ docker run -e CONTAINER_MODE=horizon --rm <image-name>:<tag>
52
52
docker run -e CONTAINER_MODE=scheduler --rm < image-name> :< tag>
53
53
54
54
# HTTP mode with Horizon
55
- docker run -e WITH_HORIZON=true -p < port> :80 --rm < image-name> :< tag>
55
+ docker run -e WITH_HORIZON=true -p < port> :8000 --rm < image-name> :< tag>
56
56
57
57
# HTTP mode with Scheduler
58
- docker run -e WITH_SCHEDULER=true -p < port> :80 --rm < image-name> :< tag>
58
+ docker run -e WITH_SCHEDULER=true -p < port> :8000 --rm < image-name> :< tag>
59
59
60
60
# HTTP mode with Scheduler and Horizon
61
- docker run -e WITH_SCHEDULER=true -e WITH_HORIZON=true -p < port> :80 --rm < image-name> :< tag>
61
+ docker run -e WITH_SCHEDULER=true -e WITH_HORIZON=true -p < port> :8000 --rm < image-name> :< tag>
62
62
63
63
# Worker mode
64
64
docker run -e CONTAINER_MODE=worker -e WORKER_COMMAND=" php /var/www/html/artisan foo:bar" --rm < image-name> :< tag>
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ RUN chmod +x rr /usr/local/bin/start-container
161
161
162
162
RUN cat deployment/utilities.sh >> ~/.bashrc
163
163
164
- EXPOSE 80
164
+ EXPOSE 8000
165
165
EXPOSE 6001
166
166
167
167
ENTRYPOINT ["start-container" ]
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ RUN chmod +x /usr/local/bin/start-container
156
156
157
157
RUN cat deployment/utilities.sh >> ~/.bashrc
158
158
159
- EXPOSE 80
159
+ EXPOSE 8000
160
160
161
161
ENTRYPOINT ["start-container" ]
162
162
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
6
6
7
7
[program:octane]
8
8
process_name=%(program_name)s_%(process_num)02d
9
- command=php %(ENV_ROOT)s/artisan octane:start --server=frankenphp --host=0.0.0.0 --port=80 --admin-port=2019
9
+ command=php %(ENV_ROOT)s/artisan octane:start --server=frankenphp --host=0.0.0.0 --port=8000 --admin-port=2019
10
10
# command=php %(ENV_ROOT)s/artisan octane:start --server=frankenphp --host=localhost --port=443 --admin-port=2019 --https --http-redirect
11
11
user=%(ENV_USER)s
12
12
autostart=true
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
6
6
7
7
[program:octane]
8
8
process_name=%(program_name)s_%(process_num)02d
9
- command=php %(ENV_ROOT)s/artisan octane:start --server=roadrunner --host=0.0.0.0 --port=80 --rpc-port=6001 --rr-config=%(ENV_ROOT)s/.rr.yaml
9
+ command=php %(ENV_ROOT)s/artisan octane:start --server=roadrunner --host=0.0.0.0 --port=8000 --rpc-port=6001 --rr-config=%(ENV_ROOT)s/.rr.yaml
10
10
user=%(ENV_USER)s
11
11
autostart=true
12
12
autorestart=true
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
6
6
7
7
[program:octane]
8
8
process_name=%(program_name)s_%(process_num)02d
9
- command=php %(ENV_ROOT)s/artisan octane:start --server=swoole --host=0.0.0.0 --port=80
9
+ command=php %(ENV_ROOT)s/artisan octane:start --server=swoole --host=0.0.0.0 --port=8000
10
10
user=%(ENV_USER)s
11
11
autostart=true
12
12
autorestart=true
You can’t perform that action at this time.
0 commit comments