Create compose.yaml

This commit is contained in:
David Rotermund 2024-07-16 18:56:57 +02:00 committed by GitHub
parent b0173db947
commit 4a95362654
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
check_users/compose.yaml Normal file
View file

@ -0,0 +1,24 @@
services:
checkuser:
image: "overleafregister_image"
container_name: checkuser
hostname: checkuser
restart: always
networks:
- overleaf-network
volumes:
- checkuser:/data
- /var/run/docker.sock:/var/run/docker.sock
- /root/check_users/list_user.py:/data/list_user.py
- /root/check_users/list_invited.py:/data/list_invited.py
entrypoint: ["/bin/sh", "-c","sleep infinity"]
volumes:
checkuser:
networks:
overleaf-network:
external: true