parent
f4209e154c
commit
0714ddfe8f
2 changed files with 1 additions and 23 deletions
|
@ -1,22 +0,0 @@
|
||||||
stages:
|
|
||||||
- prepare
|
|
||||||
- build
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
remove-old-services:
|
|
||||||
stage: prepare
|
|
||||||
script:
|
|
||||||
- systemctl --user stop ttt-org
|
|
||||||
- podman rm --force ttt-org
|
|
||||||
- cp ttt-org.container ~/.config/containers/systemd
|
|
||||||
- systemctl --user daemon-reload
|
|
||||||
|
|
||||||
container-build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- podman build -t ttt-org .
|
|
||||||
|
|
||||||
container-deploy:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- systemctl --user start ttt-org
|
|
|
@ -4,7 +4,7 @@ Description=TechTransThai.org Website
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=ttt-org
|
ContainerName=ttt-org
|
||||||
Image=ttt-org
|
Image=ttt-org
|
||||||
PublishPort=8089:80
|
PublishPort=8084:80
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
Loading…
Reference in a new issue