mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
feat:#59 add dev deployment and use gitlab registry
This commit is contained in:
56
docker-compose.dev.yml
Normal file
56
docker-compose.dev.yml
Normal file
@ -0,0 +1,56 @@
|
||||
#Calendar implementation for the HTWK Leipzig timetable. Evaluation and display of the individual dates in iCal format.
|
||||
#Copyright (C) 2024 HTWKalender support@htwkalender.de
|
||||
|
||||
#This program is free software: you can redistribute it and/or modify
|
||||
#it under the terms of the GNU Affero General Public License as published by
|
||||
#the Free Software Foundation, either version 3 of the License, or
|
||||
#(at your option) any later version.
|
||||
|
||||
#This program is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#GNU Affero General Public License for more details.
|
||||
|
||||
#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/>.
|
||||
|
||||
services:
|
||||
htwkalender-backend:
|
||||
image: DOCKER_REGISTRY_REPO:backend # DOCKER_REGISTRY_REPO will be replaced by CI
|
||||
command: "--http=0.0.0.0:8090 --dir=/htwkalender/data/pb_data"
|
||||
pull_policy: always
|
||||
restart: always
|
||||
volumes:
|
||||
- pb_data:/htwkalender/data
|
||||
networks:
|
||||
- "net"
|
||||
|
||||
htwkalender-frontend:
|
||||
image: DOCKER_REGISTRY_REPO:frontend # DOCKER_REGISTRY_REPO will be replaced by CI
|
||||
pull_policy: always
|
||||
restart: always
|
||||
depends_on:
|
||||
- htwkalender-backend
|
||||
networks:
|
||||
- "net"
|
||||
|
||||
rproxy:
|
||||
image: bitnami/nginx:1.25
|
||||
restart: always
|
||||
volumes:
|
||||
- ./reverseproxy.dev.conf:/opt/bitnami/nginx/conf/nginx.conf
|
||||
depends_on:
|
||||
- htwkalender-backend
|
||||
- htwkalender-frontend
|
||||
ports:
|
||||
- "443:443"
|
||||
- "80:80"
|
||||
networks:
|
||||
- "net"
|
||||
|
||||
volumes:
|
||||
pb_data:
|
||||
|
||||
networks:
|
||||
net:
|
||||
external: true
|
Reference in New Issue
Block a user