Commit 5cd7aeb 1 parent 0ee44f8 commit 5cd7aeb Copy full SHA for 5cd7aeb
File tree 8 files changed +14
-14
lines changed
8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ This repository contains [docker-compose.yml](./docker-compose.yml) for
47
47
(can be also [ used with podman] ( https://fedoramagazine.org/use-docker-compose-with-podman-to-orchestrate-containers-on-fedora ) ).
48
48
Before you run it, we suggest that you open the file and read all the comments.
49
49
You can also run only certain pieces of packit-service for local development
50
- (e.g. worker, database or service/httpd ).
50
+ (e.g. worker, database or http service).
51
51
You also need to populate ` secrets/packit/dev/ ` manually, for instructions
52
52
see [ deployment repo] ( https://github.com/packit/deployment/tree/main/secrets ) .
53
53
54
- When you are running service/httpd and making requests to it,
54
+ When you are running http service and making requests to it,
55
55
make sure that ` server_name ` configuration file in ` packit-service.yaml ` is set.
56
56
57
57
### tokman
@@ -84,7 +84,7 @@ For this reason `docker-compose` needs access to ports lower than 1024:
84
84
# ## binding on other hosts
85
85
86
86
If you are not binding the service on `localhost`
87
- then you **need** to make requests to httpd using the hostname
87
+ then you **need** to make requests to http service using the hostname
88
88
(which can be done by creating a new entry in `/etc/hosts` on your laptop)
89
89
and you have to provide a route to that host.
90
90
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ services:
130
130
args :
131
131
SOURCE_BRANCH : main
132
132
image : quay.io/packit/packit-service:dev
133
- command : /usr/bin/run_httpd .sh
133
+ command : /usr/bin/run_server .sh
134
134
depends_on :
135
135
- redis
136
136
- postgres
@@ -157,7 +157,7 @@ services:
157
157
- ./secrets/packit/dev/fedora.keytab:/secrets/fedora.keytab:ro,z
158
158
- ./secrets/packit/dev/fullchain.pem:/secrets/fullchain.pem:ro,z
159
159
- ./secrets/packit/dev/privkey.pem:/secrets/privkey.pem:ro,z
160
- - ./files/run_httpd .sh:/usr/bin/run_httpd .sh:ro,z
160
+ - ./files/run_server .sh:/usr/bin/run_server .sh:ro,z
161
161
user : " 1024"
162
162
163
163
dashboard :
@@ -172,7 +172,7 @@ services:
172
172
# server_name: service.localhost
173
173
# dashboard_url: https://dashboard.localhost:8443
174
174
image : quay.io/packit/dashboard:stg
175
- command : /usr/bin/run_httpd .sh
175
+ command : /usr/bin/run_server .sh
176
176
depends_on :
177
177
- service
178
178
ports :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ the project which handles migrations and schema versioning for SQLAlchemy.
10
10
To generate a migration script for your recent change you can use docker or
11
11
more easily, with rootless podman, you can use our make target.
12
12
13
- Both expect that the ` alembic upgrade head ` is run in [ run_httpd .sh] ( ../../files/run_httpd .sh )
13
+ Both expect that the ` alembic upgrade head ` is run in [ run_server .sh] ( ../../files/run_server .sh )
14
14
during (packit-)service pod/container start.
15
15
16
16
When modifying the migration manually, do not forget to update the downgrade
Original file line number Diff line number Diff line change 1
- # Image for the web service (httpd) , for celery worker see files/docker/Dockerfile.worker
1
+ # Image for the web service, for celery worker see files/docker/Dockerfile.worker
2
2
3
3
FROM quay.io/packit/base:fedora
4
4
@@ -34,4 +34,4 @@ COPY alembic/ ./alembic/
34
34
35
35
EXPOSE 8443
36
36
37
- CMD ["/usr/bin/run_httpd .sh" ]
37
+ CMD ["/usr/bin/run_server .sh" ]
Original file line number Diff line number Diff line change 9
9
packit_service_path : /src
10
10
tasks :
11
11
- import_tasks : tasks/common.yaml
12
- - import_tasks : tasks/httpd .yaml
12
+ - import_tasks : tasks/server .yaml
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
# Copyright Contributors to the Packit project.
2
2
# SPDX-License-Identifier: MIT
3
3
4
- - name : Copy run_httpd .sh
4
+ - name : Copy run_server .sh
5
5
ansible.builtin.copy :
6
- src : run_httpd .sh
7
- dest : /usr/bin/run_httpd .sh
6
+ src : run_server .sh
7
+ dest : /usr/bin/run_server .sh
8
8
mode : 0775
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def is_multi_threaded() -> bool:
95
95
# fails to rollback you have to restart the workers so that they pick another session.
96
96
singleton_session = Session ()
97
97
logger .debug ("Going to use a single SQLAlchemy session." )
98
- else : # service/httpd
98
+ else : # http service
99
99
Session = scoped_session (Session )
100
100
singleton_session = None
101
101
You can’t perform that action at this time.
0 commit comments