Commit b1c2782b authored by nanahira's avatar nanahira

new

parent 4bc2c406
version: '2.4'
services:
nginx:
restart: always
image: git-registry.moenext.com/nanahira/nginx-proxy
ports:
- "{{ http_listen | default(80) }}:80"
- "{{ https_listen | default(443) }}:443"
{% for listen in extra_https_listen | default([]) %}
- "{{ listen }}:443"
{% endfor %}
volumes:
- ./certs:/etc/nginx/certs:ro
- ./conf.d:/etc/nginx/conf.d:ro
- '{{ cache_path | default("./cache") }}:/etc/nginx/cache'
- /etc/localtime:/etc/localtime:ro
environment:
EXTERNAL_REAL_IP: '1'
MAX_CACHE_SIZE: '{{ max_cache_size | default("10g") }}'
{% for site in sites | default([]) %}
'SITE_{{site.name}}': '{{ site.target }}'
{% for k, v in (site.params | default({})).items() %}
'SITE_{{site.name}}_{{k}}': |-
{{ v | string | indent(8) }}
{% endfor %}
{% endfor %}
{% for k, v in (extra_params | default({})).items() %}
'{{k}}': |-
{{ v | string | indent(8) }}
{% endfor %}
{% if with_squid | default(false) %}
squid:
restart: always
image: ubuntu/squid
ports:
- "{{ansible_ssh_host}}:3128:3128"
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
TZ: Asia/Shanghai
{% endif %}
......@@ -2,9 +2,9 @@ version: '2.4'
services:
shadowban:
restart: always
image: git-registry.moenext.com/nanahira/shadowban-eu-backend:steve
image: git-registry.moenext.com/nanahira/shadowban-revive:master
ports:
- '{{ansible_ssh_host}}:{{port}}:80'
- '{{ansible_ssh_host}}:{{port}}:3000'
volumes:
- ./data/accounts.txt:/data/accounts.txt:ro
environment:
......
/home/nanahira/zeeai/twint-revive/
\ No newline at end of file
version: '2.4'
services:
novnc:
restart: always
image: theasp/novnc:latest
environment:
RUN_XTERM: 'no'
DISPLAY_WIDTH: 1920
DISPLAY_HEIGHT: 1080
ports:
- 127.0.0.1:3030:8080
redis:
restart: always
image: redis:alpine
command: redis-server --save 600 1000 --requirepass sEopzsiLb3Qm3pqel1lQ
volumes:
- ./redis:/data
ports:
- 127.0.0.1:6379:6379
twint:
restart: always
build: ./data/twint
shm_size: 1gb
environment:
TZ: Asia/Shanghai
DISPLAY: novnc:0.0
REDIS_URL: redis://:sEopzsiLb3Qm3pqel1lQ@redis/1
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- '{{listen}}:3000'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment