Reorganize doc/packaging to deployment
This commit is contained in:
parent
2010764136
commit
f94ffdd6fb
7 changed files with 0 additions and 0 deletions
13
deployment/systemd/gisaf-backend-initdb.container
Normal file
13
deployment/systemd/gisaf-backend-initdb.container
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Container]
|
||||
ContainerName=gisaf-backend-initdb
|
||||
Image=code.philo.ydns.eu/philorg/gisaf-backend:latest
|
||||
Pod=gisaf.pod
|
||||
Environment=GISAF__DB__HOST=gisaf-database
|
||||
Exec=gisaf create-db
|
||||
|
||||
[Unit]
|
||||
Requires=gisaf-database.service
|
||||
After=gisaf-database.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
17
deployment/systemd/gisaf-backend.container
Normal file
17
deployment/systemd/gisaf-backend.container
Normal file
|
@ -0,0 +1,17 @@
|
|||
[Container]
|
||||
ContainerName=gisaf-backend
|
||||
Image=code.philo.ydns.eu/philorg/gisaf-backend:latest
|
||||
Pod=gisaf.pod
|
||||
Environment=GISAF__DB__HOST=gisaf-database
|
||||
Environment=GISAF__GISAF_LIVE__REDIS=redis://gisaf-redis
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Unit]
|
||||
Wants=gisaf-backend-initdb.service
|
||||
After=gisaf-backend-initdb.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
8
deployment/systemd/gisaf-database.container
Normal file
8
deployment/systemd/gisaf-database.container
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Container]
|
||||
ContainerName=gisaf-database
|
||||
Image=code.philo.ydns.eu/philorg/gisaf-database:latest
|
||||
Pod=gisaf.pod
|
||||
Volume=gisaf-pgdata:/var/lib/postgresql/data
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
15
deployment/systemd/gisaf-frontend.container
Normal file
15
deployment/systemd/gisaf-frontend.container
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Container]
|
||||
ContainerName=gisaf-frontend
|
||||
Image=code.philo.ydns.eu/philorg/gisaf-frontend:latest
|
||||
Pod=gisaf.pod
|
||||
#Network=gisaf # Defined in the pod
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Unit]
|
||||
Wants=gisaf-backend.service
|
||||
After=gisaf-backend.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
9
deployment/systemd/gisaf-redis.container
Normal file
9
deployment/systemd/gisaf-redis.container
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Container]
|
||||
ContainerName=gisaf-redis
|
||||
Image=docker.io/redis:alpine
|
||||
Pod=gisaf.pod
|
||||
#Network=gisaf # Defined in the pod
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
3
deployment/systemd/gisaf.network
Normal file
3
deployment/systemd/gisaf.network
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Network]
|
||||
NetworkName=gisaf
|
||||
Label=app=gisaf
|
13
deployment/systemd/gisaf.pod
Normal file
13
deployment/systemd/gisaf.pod
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Pod]
|
||||
PodName=gisaf
|
||||
Network=gisaf.network
|
||||
PublishPort=8899:80
|
||||
PublishPort=35432:4532
|
||||
#PublishPort=36379:4532
|
||||
|
||||
[Unit]
|
||||
After=podman-user-wait-network-online.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue