-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I tried to follow the instructions per the statement:
Add users:
docker run -v /data/osm-postgresql:/var/lib/postgresql homme/openstreetmap-website
startdb cli
Run the above command to get a cli in the container and then follow the
'Managing Users' instructions at
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md.
However, the managing users instructions works when the user has already been added. I haven't added any of my own users (I believe their is a postgress user by default), so it is difficult to manage the users I haven't added.
I thought maybe I could just skip this step and run the server and either add a user on the website or just forget about the users part, so I followed the next instruction:
docker run -P -v /data/osm-postgresql:/var/lib/postgresql homme/openstreetmap-website
startservices
It appears that the server is running. Now what? On the host computer I tried to open up a browser and direct it towards the localhost, but it can't connect to the server at 127.0.0.1. I see that the -P option is supposed to "Publish all exposed ports to the host interfaces", but it doesn't seem to be happening.
Here is the output to the startservices command:
/var/lib/postgresql homme/openstreetmap-website startservices
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
No SSH host key available. Generating one...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 76
*** Running /usr/local/sbin/run startservices...
ok: run: cgimap: (pid 95) 0s, normally down
Enabling site cgimap.
Enabling site production.
To activate the new configuration, you need to run:
service apache2 reload
ok: run: apache2: (pid 111) 0s, normally down
ok: run: postgresql: (pid 97) 0s, normally down
I tried reloading apache2, but that didn't make a difference. Does it look like it's running? How do I access it?