Skip to content

Commit 0eea9a0

Browse files
Update Compose files
1 parent 9d9c3a1 commit 0eea9a0

File tree

5 files changed

+17
-61
lines changed

5 files changed

+17
-61
lines changed

docker-compose.dev.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
services:
2-
server:
2+
judge0:
33
image: judge0/judge0:latest-dev
4+
build:
5+
context: .
6+
target: development
47
volumes:
58
- .:/api
69
ports:
@@ -9,23 +12,20 @@ services:
912
privileged: true
1013

1114
db:
12-
image: postgres:13.0
15+
image: postgres:16.2
1316
env_file: judge0.conf
1417
volumes:
15-
- postgres-data:/var/lib/postgresql/data/
18+
- data:/var/lib/postgresql/data/
1619
restart: always
1720

1821
redis:
19-
image: redis:6.0
22+
image: redis:6.2.14
2023
command: [
2124
"bash", "-c",
2225
'docker-entrypoint.sh --appendonly yes --requirepass "$$REDIS_PASSWORD"'
2326
]
2427
env_file: judge0.conf
25-
volumes:
26-
- redis-data:/data
2728
restart: always
2829

2930
volumes:
30-
postgres-data:
31-
redis-data:
31+
data:

docker-compose.yml

Lines changed: 4 additions & 7 deletions
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

Lines changed: 0 additions & 19 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy