Create compose.yaml
This commit is contained in:
parent
b0173db947
commit
4a95362654
1 changed files with 24 additions and 0 deletions
24
check_users/compose.yaml
Normal file
24
check_users/compose.yaml
Normal 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
|
Loading…
Reference in a new issue