diff --git a/kener/.env.example b/kener/.env.example new file mode 100644 index 0000000..35469a3 --- /dev/null +++ b/kener/.env.example @@ -0,0 +1,3 @@ +KENER_SECRET_KEY=your_secret_key_here +ORIGIN=http://localhost:3000 +TZ=Etc/UTC \ No newline at end of file diff --git a/kener/compose.yaml b/kener/compose.yaml new file mode 100644 index 0000000..f9c1e86 --- /dev/null +++ b/kener/compose.yaml @@ -0,0 +1,21 @@ +services: + kener: + image: rajnandan1/kener:latest + container_name: kener + ports: + - 3000:3000/tcp + environment: + - KENER_SECRET_KEY=${KENER_SECRET_KEY?Kener requires a secret key} + - ORIGIN=${ORIGIN:-http://localhost:3000} + - TZ:${TZ:-Etc/UTC} + volumes: + - db:/app/database + - uploads:/app/uploads + networks: + - proxy +volumes: + db: + uploads: +networks: + proxy: + external: true \ No newline at end of file