Add more service databases to terraform
This commit is contained in:
		
							parent
							
								
									43baf205dc
								
							
						
					
					
						commit
						ad2d3c6c06
					
				
					 9 changed files with 39 additions and 22 deletions
				
			
		|  | @ -3,5 +3,4 @@ FROM ubuntu | |||
| ENV DEBIAN_FRONTEND=noninteractive | ||||
| 
 | ||||
| RUN apt update -y \ | ||||
| 	&& apt install -y curl dnsutils msmtp gettext-base python3-pip python3-requests \ | ||||
| 	&& pip install matrix-nio | ||||
| 	&& apt install -y curl dnsutils msmtp gettext-base python3-matrix-nio python3-requests | ||||
|  |  | |||
|  | @ -1,24 +0,0 @@ | |||
| version: "3.7" | ||||
| 
 | ||||
| x-common-elements: | ||||
|   &common-elements | ||||
|   build: | ||||
|     context: . | ||||
|   image: "{{ (container_registry.public, 'services/healthcheck') | path_join }}" | ||||
|   restart: never | ||||
|   env_file: | ||||
|     - service.env | ||||
|   volumes: | ||||
|     - ./data/:/opt | ||||
|   network_mode: host | ||||
| 
 | ||||
| services: | ||||
|   http: | ||||
|     <<: *common-elements | ||||
|     command: "/opt/http" | ||||
|   matrix: | ||||
|     <<: *common-elements | ||||
|     command: "/opt/matrix" | ||||
|   mail: | ||||
|     <<: *common-elements | ||||
|     command: "/opt/mail" | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue