atlassian / atlassian/nucleus

File server does not start

Open
#74 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
420
Forks
100
PR merge metrics
No merged PRs in 30d

Description

Hi, i'm using this docker image with docker-compose:
```
version: '3'

services:
redis:
container_name: redis
hostname: redis
image: redis
ports:
- "6379:6379"

nucleus:
image: atlassian/nucleus
depends_on:
- redis
volumes:
- './config.js:/opt/service/config.js'
- './files:/opt/service/.files'
- './db:/opt/service/db'
ports:
- 8888:8888
- 9999:9999
environment:
- DEBUG=nucleus* `
```
in my config.js i have:
```
const path = require('path');

module.exports = {
port: 8888,
baseURL: 'http://192.168.0.203:8888',
dbStrategy: 'sequelize',
sequelize: {
dialect: 'sqlite',
storage: path.resolve(__dirname, 'db', 'db.sqlite'),
},
fileStrategy: 'local',
local: {
root: path.resolve(__dirname, '.files'),
staticUrl: 'http://192.168.0.203:9999'
},
authStrategy: 'local',
localAuth: [{
displayName: 'Administrator',
username: 'admin',
password: '*hidden*',
photo: 'https://pbs.twimg.com/profile_images/1219364727/charlie-support_400x400.png'
}],
adminIdentifiers: ['admin'],
sessionConfig: {
type: "redis",
secret: 'ThisIsNotSecret',

redis: {
host: 'redis',
port: '6379'
}
},
organization: 'org',
gpgSigningKey: `*hidden*`,
defaultRollout: 0
};
```
where 192.168.0.203 is the ip of the machine

everithing works except the file server. On port 9999 nothing is running.

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the supplied docker-compose configuration and config.js, then reproduce the setup and inspect the application logs while checking port 9999. Done means the file server starts in the nucleus container and port 9999 responds for the configured local files.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, javascript
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.