-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (30 loc) · 1022 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '2.4'
services:
internetloginpyws:
#build:
# context: ./
# dockerfile: Dockerfile
image: ghcr.io/tob1as/internetloginwithpythonwebservice:latest
container_name: internetloginpyws
restart: unless-stopped
ports:
- 8000:8000/tcp
#volumes:
# #- ./login_wohnheim_uni_mainz_de-webservice.py:/service/login_wohnheim_uni_mainz_de-webservice.py:rw
# - ./ssl/ssl.crt:/service/ssl.crt:ro
# - ./ssl/ssl.crt:/service/ssl.key:ro
environment:
TZ: Europe/Berlin
#HTTPD_PORT: 8000
HTTPD_BASEPATH: /internet
HTTPD_SSL_ENABLE: 0
LOGLEVEL: INFO
#entrypoint: [ "/bin/sh", "-c", "--" ]
#command: [ "while true; do sleep 60; done;" ]
healthcheck:
test: wget --quiet --tries=1 --spider http://localhost:8000/healthcheck || exit 1
#test: wget --quiet --tries=1 --spider --no-check-certificate https://localhost:8000/healthcheck || exit 1
#start_period: 10s
interval: 120s
timeout: 3s
retries: 3