Commit 8c0e19b7 authored by carlosribas's avatar carlosribas
Browse files

Use k8 tag

parent 4a33d06f
...@@ -3,9 +3,7 @@ version: '3' ...@@ -3,9 +3,7 @@ version: '3'
services: services:
# RNAcentral website # RNAcentral website
rnacentral: rnacentral:
image: rnacentral/rnacentral-webcode image: rnacentral/rnacentral-webcode:k8
expose:
- 8000
environment: environment:
- DB_HOST=${DB_HOST} - DB_HOST=${DB_HOST}
- DB_NAME=${DB_NAME} - DB_NAME=${DB_NAME}
...@@ -13,6 +11,10 @@ services: ...@@ -13,6 +11,10 @@ services:
- DB_PASSWORD=${DB_PASSWORD} - DB_PASSWORD=${DB_PASSWORD}
- DB_PORT=${DB_PORT} - DB_PORT=${DB_PORT}
- SECRET_KEY=${SECRET_KEY} - SECRET_KEY=${SECRET_KEY}
expose:
- 8000
volumes:
- static_volume:/srv/rnacentral/static
depends_on: depends_on:
- redis - redis
networks: networks:
...@@ -37,7 +39,7 @@ services: ...@@ -37,7 +39,7 @@ services:
- 8000:80 - 8000:80
volumes: volumes:
- ../nginx/conf.d:/etc/nginx/conf.d - ../nginx/conf.d:/etc/nginx/conf.d
- ../rnacentral/portal/static/:/static - static_volume:/srv/rnacentral/static
depends_on: depends_on:
- rnacentral - rnacentral
networks: networks:
...@@ -54,6 +56,9 @@ services: ...@@ -54,6 +56,9 @@ services:
networks: networks:
- memcached-network - memcached-network
volumes:
static_volume:
networks: networks:
redis-network: redis-network:
driver: bridge driver: bridge
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment