feat:#4 fixed docker compose prod port and files

This commit is contained in:
Elmar Kresse
2024-04-04 21:30:39 +02:00
parent c2f04ae3a6
commit 2cfc1a5df8

View File

@ -14,8 +14,6 @@
#You should have received a copy of the GNU Affero General Public License #You should have received a copy of the GNU Affero General Public License
#along with this program. If not, see <https://www.gnu.org/licenses/>. #along with this program. If not, see <https://www.gnu.org/licenses/>.
version: "3.9"
services: services:
htwkalender-backend: htwkalender-backend:
image: DOCKER_REGISTRY_REPO:backend # DOCKER_REGISTRY_REPO will be replaced by CI image: DOCKER_REGISTRY_REPO:backend # DOCKER_REGISTRY_REPO will be replaced by CI
@ -41,11 +39,15 @@ services:
restart: always restart: always
volumes: volumes:
- ./reverseproxy.conf:/opt/bitnami/nginx/conf/nginx.conf - ./reverseproxy.conf:/opt/bitnami/nginx/conf/nginx.conf
- ./htwkalender.de.pem:/opt/bitnami/nginx/conf/htwkalender.de.pem
- ./htwkalender.de.key.pem:/opt/bitnami/nginx/conf/htwkalender.de.key.pem
- ./cal.htwk-leipzig.de.pem:/opt/bitnami/nginx/conf/cal.htwk-leipzig.de.pem
- ./cal.htwk-leipzig.de.key.pem:/opt/bitnami/nginx/conf/cal.htwk-leipzig.de.key.pem
depends_on: depends_on:
- htwkalender-backend - htwkalender-backend
- htwkalender-frontend - htwkalender-frontend
ports: ports:
- "80:80" - "443:443"
networks: networks:
- "net" - "net"