Fixing ansible install.
This commit is contained in:
parent
b99b62a211
commit
d37f638381
3 changed files with 20 additions and 0 deletions
|
@ -77,6 +77,7 @@
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
vars:
|
vars:
|
||||||
lemmy_docker_image: "dessalines/lemmy:{{ lookup('file', 'VERSION') }}"
|
lemmy_docker_image: "dessalines/lemmy:{{ lookup('file', 'VERSION') }}"
|
||||||
|
lemmy_docker_ui_image: "dessalines/lemmy-ui:{{ lookup('file', 'VERSION') }}"
|
||||||
lemmy_port: "8536"
|
lemmy_port: "8536"
|
||||||
pictshare_port: "8537"
|
pictshare_port: "8537"
|
||||||
iframely_port: "8538"
|
iframely_port: "8538"
|
||||||
|
|
|
@ -15,6 +15,17 @@ services:
|
||||||
- pictrs
|
- pictrs
|
||||||
- iframely
|
- iframely
|
||||||
|
|
||||||
|
lemmy-ui:
|
||||||
|
image: {{ lemmy_docker_ui_image }}
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:1235:1234"
|
||||||
|
environment:
|
||||||
|
- LEMMY_INTERNAL_HOST=lemmy:8536
|
||||||
|
- LEMMY_EXTERNAL_HOST={{ domain }}
|
||||||
|
- LEMMY_HTTPS=true
|
||||||
|
depends_on:
|
||||||
|
- lemmy
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12-alpine
|
image: postgres:12-alpine
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -17,6 +17,14 @@ mkdir -p volumes/pictrs
|
||||||
sudo chown -R 991:991 volumes/pictrs
|
sudo chown -R 991:991 volumes/pictrs
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Open up your `docker-compose.yml`, and make sure `LEMMY_EXTERNAL_HOST` for `lemmy-ui` is set to your correct host.
|
||||||
|
|
||||||
|
```
|
||||||
|
- LEMMY_INTERNAL_HOST=lemmy:8536
|
||||||
|
- LEMMY_EXTERNAL_HOST=localhost:8536
|
||||||
|
- LEMMY_HTTPS=false
|
||||||
|
```
|
||||||
|
|
||||||
After this, have a look at the [config file](administration_configuration.md) named `lemmy.hjson`, and adjust it, in particular the hostname, and possibly the db password. Then run:
|
After this, have a look at the [config file](administration_configuration.md) named `lemmy.hjson`, and adjust it, in particular the hostname, and possibly the db password. Then run:
|
||||||
|
|
||||||
`docker-compose up -d`
|
`docker-compose up -d`
|
||||||
|
|
Loading…
Reference in a new issue