Skip to content

Commit 26047e6

Browse files
bump up the ngix image version
1 parent a5ab70f commit 26047e6

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

LNX-docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
interval: 1s
3232
fakeservices.datajoint.io:
3333
<<: *net
34-
image: raphaelguzman/nginx:v0.0.6
34+
image: raphaelguzman/nginx:v0.0.8
3535
environment:
3636
- ADD_db_TYPE=DATABASE
3737
- ADD_db_ENDPOINT=db:3306

local-docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
interval: 1s
3434
fakeservices.datajoint.io:
3535
<<: *net
36-
image: raphaelguzman/nginx:v0.0.6
36+
image: raphaelguzman/nginx:v0.0.8
3737
environment:
3838
- ADD_db_TYPE=DATABASE
3939
- ADD_db_ENDPOINT=db:3306
@@ -106,4 +106,4 @@ services:
106106
# - ./notebook:/home/dja/notebooks
107107
# - ../dj-python-101/ch1:/home/dja/tutorials
108108
networks:
109-
main:
109+
main:

tests/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626

2727
# Connection for testing
2828
CONN_INFO = dict(
29-
host=environ.get('DJ_TEST_HOST', 'localhost'),
29+
host=environ.get('DJ_TEST_HOST', 'fakeservices.datajoint.io'),
3030
user=environ.get('DJ_TEST_USER', 'datajoint'),
3131
password=environ.get('DJ_TEST_PASSWORD', 'datajoint'))
3232

3333
CONN_INFO_ROOT = dict(
34-
host=environ.get('DJ_HOST', 'localhost'),
34+
host=environ.get('DJ_HOST', 'fakeservices.datajoint.io'),
3535
user=environ.get('DJ_USER', 'root'),
3636
password=environ.get('DJ_PASS', 'simple'))
3737

3838
S3_CONN_INFO = dict(
39-
endpoint=environ.get('S3_ENDPOINT', 'localhost:9000'),
39+
endpoint=environ.get('S3_ENDPOINT', 'fakeservices.datajoint.io'),
4040
access_key=environ.get('S3_ACCESS_KEY', 'datajoint'),
4141
secret_key=environ.get('S3_SECRET_KEY', 'datajoint'),
4242
bucket=environ.get('S3_BUCKET', 'datajoint.test'))
@@ -132,7 +132,7 @@ def setup_package():
132132
# Add old S3
133133
source = Path(
134134
Path(__file__).resolve().parent,
135-
'external-legacy-data','s3')
135+
'external-legacy-data', 's3')
136136
region = "us-east-1"
137137
try:
138138
minioClient.make_bucket(S3_MIGRATE_BUCKET, location=region)
@@ -144,7 +144,7 @@ def setup_package():
144144
if os.path.isfile(str(path)) and ".sql" not in str(path):
145145
minioClient.fput_object(
146146
S3_MIGRATE_BUCKET, str(Path(
147-
os.path.relpath(str(path),str(Path(source,S3_MIGRATE_BUCKET))))
147+
os.path.relpath(str(path), str(Path(source, S3_MIGRATE_BUCKET))))
148148
.as_posix()), str(path))
149149
# Add S3
150150
try:

0 commit comments

Comments
 (0)