Skip to content

Commit 4e4806f

Browse files
Update Docker Compose files and docs
1 parent 1d40046 commit 4e4806f

File tree

4 files changed

+12
-59
lines changed

4 files changed

+12
-59
lines changed

docker-compose.dev.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,20 @@ services:
1212
privileged: true
1313

1414
db:
15-
image: postgres:14.3
15+
image: postgres:16.2
1616
env_file: judge0.conf
1717
volumes:
18-
- postgres-data:/var/lib/postgresql/data/
18+
- data:/var/lib/postgresql/data/
1919
restart: always
2020

2121
redis:
22-
image: redis:6.2.7
22+
image: redis:6.2.14
2323
command: [
2424
"bash", "-c",
2525
'docker-entrypoint.sh --appendonly yes --requirepass "$$REDIS_PASSWORD"'
2626
]
2727
env_file: judge0.conf
28-
volumes:
29-
- redis-data:/data
3028
restart: always
3129

3230
volumes:
33-
postgres-data:
34-
redis-data:
31+
data:

docker-compose.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,22 @@ services:
2626
restart: always
2727

2828
db:
29-
image: postgres:13.0
29+
image: postgres:16.2
3030
env_file: judge0.conf
3131
volumes:
32-
- postgres-data:/var/lib/postgresql/data/
32+
- data:/var/lib/postgresql/data/
3333
<<: *default-logging
3434
restart: always
3535

3636
redis:
37-
image: redis:6.0
37+
image: redis:6.2.14
3838
command: [
3939
"bash", "-c",
4040
'docker-entrypoint.sh --appendonly yes --requirepass "$$REDIS_PASSWORD"'
4141
]
4242
env_file: judge0.conf
43-
volumes:
44-
- redis-data:/data
4543
<<: *default-logging
4644
restart: always
4745

4846
volumes:
49-
postgres-data:
50-
redis-data:
47+
data:

docs/api/hostname.html

-19
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,2 @@
1-
<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="ee4621ff-c682-44ac-8cfa-1835beddb98a";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
2-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-13MX7JLK0N"></script>
31
<script type="text/javascript">
4-
window.dataLayer = window.dataLayer || [];
5-
function gtag() { dataLayer.push(arguments); }
6-
gtag('js', new Date());
7-
gtag('config', 'G-13MX7JLK0N');
8-
9-
document.addEventListener("DOMContentLoaded", function (event) {
10-
var hostnames = document.body.getElementsByClassName("hostname");
11-
for (var i = 0; i < hostnames.length; i++) {
12-
hostnames[i].innerHTML = window.location.origin;
13-
}
14-
15-
var host = document.body.getElementsByTagName("nav")[0].getElementsByTagName("p")[0].getElementsByTagName("a")[0];
16-
host.innerHTML = window.location.origin;
17-
host.href = window.location.origin;
18-
19-
gtag("event", "page_view", { page_path: `/?ref=${window.location.origin}` });
20-
});
212
</script>

0 commit comments

Comments
 (0)