mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-23 13:03:11 +00:00
97617d699d
* A first try at docker manifest. 1. * Fixing api version location * Version 0.9.0-rc.13 * Test docker. * Test docker 2. * Test docker 3. * Test docker 4. * Test docker 5. * Test docker 6. * Test docker 7. * Test docker 8. * Test docker 9. * Test docker 10. * Test docker 11. * Test docker 12. * Version 0.9.0-rc.14 * Test docker 13. * Test docker 14. * Version 0.9.0-rc.15 * Test docker 15. * Version 0.9.0-rc.16 * Test docker 16. * Version 0.9.0-rc.17
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
version: '2.2'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:12-alpine
|
|
environment:
|
|
- POSTGRES_USER=lemmy
|
|
- POSTGRES_PASSWORD=password
|
|
- POSTGRES_DB=lemmy
|
|
volumes:
|
|
- ./volumes/postgres:/var/lib/postgresql/data
|
|
restart: always
|
|
|
|
lemmy:
|
|
image: dessalines/lemmy:0.9.0-rc.17
|
|
ports:
|
|
- "127.0.0.1:8536:8536"
|
|
restart: always
|
|
environment:
|
|
- RUST_LOG=error
|
|
volumes:
|
|
- ./lemmy.hjson:/config/config.hjson
|
|
depends_on:
|
|
- postgres
|
|
- pictrs
|
|
- iframely
|
|
|
|
lemmy-ui:
|
|
image: dessalines/lemmy-ui:0.9.0-rc.17
|
|
ports:
|
|
- "1235:1234"
|
|
restart: always
|
|
environment:
|
|
- LEMMY_INTERNAL_HOST=lemmy:8536
|
|
- LEMMY_EXTERNAL_HOST=localhost:8536
|
|
- LEMMY_HTTPS=false
|
|
depends_on:
|
|
- lemmy
|
|
|
|
pictrs:
|
|
image: asonix/pictrs:v0.2.5-r0
|
|
ports:
|
|
- "127.0.0.1:8537:8080"
|
|
user: 991:991
|
|
volumes:
|
|
- ./volumes/pictrs:/mnt
|
|
restart: always
|
|
|
|
iframely:
|
|
image: dogbin/iframely:latest
|
|
ports:
|
|
- "127.0.0.1:8061:80"
|
|
volumes:
|
|
- ./iframely.config.local.js:/iframely/config.local.js:ro
|
|
restart: always
|
|
mem_limit: 100m
|