File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 88 git checkout $tag || exit 1
99fi
1010
11- docker build -t DevAlone /proxy_py:$tag .
12- docker push DevAlone /proxy_py:$tag
11+ docker build -t devalone /proxy_py:$tag .
12+ docker push devalone /proxy_py:$tag
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ services:
1010 - POSTGRES_DB=proxy_py
1111 volumes :
1212 - db_data:/var/lib/postgresql/data
13+ - ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql
1314 core :
14- build : .
15+ image : " devalone/proxy_py:latest"
16+ restart : always
1517 ports :
1618 - " 55555:55555"
1719 environment :
Original file line number Diff line number Diff line change 1+ CREATE EXTENSION IF NOT EXISTS tsm_system_rows;
Original file line number Diff line number Diff line change @@ -206,8 +206,6 @@ class Meta:
206206
207207db = peewee_async .Manager (raw_db )
208208
209- # TODO: make it work
210- # raw_db.execute_sql('CREATE EXTENSION IF NOT EXISTS tsm_system_rows;')
211209raw_db .execute_sql ('''CREATE MATERIALIZED VIEW IF NOT EXISTS working_proxies
212210AS SELECT * FROM proxies WHERE number_of_bad_checks = 0;''' )
213211db .allow_sync ()
You can’t perform that action at this time.
0 commit comments