Update docker-compose.yml

-Change version to 2 so that we can use it with older versions
-Change restart condition of containers
pull/5/head
Angel Garcia 5 years ago committed by GitHub
parent 2d2e8f31f8
commit fc7cb4b6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,6 @@
version: "3.4" version: "2"
services: services:
jikan-rest-api: jikan-rest-api:
build: build:
context: jikan context: jikan
@ -12,8 +11,8 @@ services:
- "9001:80" - "9001:80"
networks: networks:
- default - default
restart: always restart: unless-stopped
jikan-redis: jikan-redis:
image: redis image: redis
restart: always restart: unless-stopped

Loading…
Cancel
Save