cicd #4
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,4 @@
|
|||||||
# ---> Ansible
|
# ---> Ansible
|
||||||
*.retry
|
*.retry
|
||||||
/env-file/*.env
|
/env-file/*.env
|
||||||
/containers/*.container
|
|
||||||
/vars/*.yml
|
/vars/*.yml
|
||||||
|
|||||||
17
containers/crm-client.container
Normal file
17
containers/crm-client.container
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=crm-client server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ContainerName=crm-client
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Image=746819106135.dkr.ecr.ap-southeast-1.amazonaws.com/prod/crm-client:latest
|
||||||
|
PublishPort=3000:80
|
||||||
|
AutoUpdate=registry
|
||||||
|
Environment=VITE_API_ENDPOINT=https://api.cosmos-tropical.com
|
||||||
|
Environment=VITE_API_TIMEOUT=3600
|
||||||
|
Environment=VITE_APPLICATION_DEFAULT_OPEN_SIDEBAR=false
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
19
containers/crm-server.container
Normal file
19
containers/crm-server.container
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=crm-server server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ContainerName=crm-server
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Pod=crm-server.pod
|
||||||
|
Image=746819106135.dkr.ecr.ap-southeast-1.amazonaws.com/prod/crm-server:latest
|
||||||
|
Volume=/home/cosmosplan/crm-data:/app/data
|
||||||
|
Volume=/home/cosmosplan/crm-logs:/app/logs
|
||||||
|
Volume=/home/cosmosplan/cosmos-plan-crm-ansible-deploy/env-file/appsettings.json:/app/appsettings.json
|
||||||
|
AutoUpdate=registry
|
||||||
|
EnvironmentFile=/home/cosmosplan/cosmos-plan-crm-ansible-deploy/env-file/.env
|
||||||
|
Environment=TZ=Asia/Kuala_Lumpur
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
15
containers/seq.container
Normal file
15
containers/seq.container
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=datalust-seq container
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ContainerName=datalust-seq
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Pod=crm-server.pod
|
||||||
|
Image=docker.io/datalust/seq:2024.3
|
||||||
|
AutoUpdate=registry
|
||||||
|
Environment=ACCEPT_EULA=Y
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user