Skip to content

Commit

Permalink
Downgrade docker-compose to 2.2.
Browse files Browse the repository at this point in the history
#1570 implemented docker compose configuration for resolving #1452.
Older docker-compose instances might not support 3.9 docker-compose
configuration. This PR downgrades to 2.2 by removing the "profile"
configuration.
  • Loading branch information
fnielsen committed Mar 8, 2022
1 parent ac58fd7 commit 837b2a1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
version: "2.2"

services:
# RUN SCHOLIA ALONE
Expand All @@ -9,15 +9,11 @@ services:
- 8100:8100
volumes:
- .:/scholia
profiles:
- local

# RUN SCHOLIA WITH NGINX
webapp_proxy:
image: scholia
build: .
profiles:
- proxy
volumes:
- .:/scholia

Expand All @@ -26,10 +22,5 @@ services:
build: ./nginx/
ports:
- 80:80
profiles:
- proxy
depends_on:
- webapp_proxy



0 comments on commit 837b2a1

Please sign in to comment.