ChaosAD

joined 2 years ago
MODERATOR OF
[–] ChaosAD 1 points 2 years ago
[–] ChaosAD 1 points 2 years ago* (last edited 2 years ago)
[–] ChaosAD 1 points 2 years ago

alias vc tem matrix ou discord?

[–] ChaosAD 1 points 2 years ago

I think I saw you comment it!

[–] ChaosAD 1 points 2 years ago
[–] ChaosAD 1 points 2 years ago

yes, when version 115 comes to stable they will transform K9 into Thunderbird!

[–] ChaosAD 1 points 2 years ago (1 children)

é que eu uso o caddy como webserver fora do docker, então tenho duvidas nos networks e portas que preciso abrir no docker-compose

version: "3.9"
x-logging:
  &default-logging
  options:
    max-size: '500m'
  driver: json-file

services:

  lemmy:
    image: lemmy-easy-deploy-lemmy
    # image: dessalines/lemmy:0.17.3-linux-arm64
    environment:
      - RUST_LOG="warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info"
    volumes:
      - ./lemmy.hjson:/config/config.hjson
    depends_on:
      - postgres
      - pictrs
    networks:
      - lemmyinternal
      - lemmybridge
    ports:
      - 8536:8536
    restart: always
    logging: *default-logging

  lemmy-ui:
    image: lemmy-easy-deploy-lemmy-ui
    # image: dessalines/lemmy-ui:0.17.3-linux-arm64
    environment:
      - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
      - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:1236
      - LEMMY_HTTPS=true
    depends_on:
      - lemmy
    networks:
      - lemmyinternal
      - lemmybridge
    ports:
    #Always keep em guessing
      - 1234:1234
    restart: always
    logging: *default-logging

  pictrs:
    image: asonix/pictrs:0.3.1
    user: 991:991
    env_file:
      - ./pictrs.env
    volumes:
      - pictrs_data:/mnt
    networks:
      - lemmyinternal
      - lemmybridge
    restart: always
    logging: *default-logging

  postgres:
    image: postgres:15-alpine
    environment:
      - POSTGRES_USER=lemmy
      - POSTGRES_DB=lemmy
    env_file:
      - ./postgres.env
    volumes:
      - postgres_data:/var/lib/postgresql/data
    networks:
      - lemmyinternal
    ports:
      - 5432:5432
    restart: always
    logging: *default-logging

volumes:
  pictrs_data:
  postgres_data:

networks:
  lemmyexternalproxy:
  lemmybridge:
  lemmyinternal:
    driver: bridge
    internal: true
[–] ChaosAD 2 points 2 years ago (4 children)

Cara, vc consegue me ajudar? Eu já tentei de tudo, to arrancando os cabelos já... nada da certo :(

[–] ChaosAD -2 points 2 years ago

to inform you.

[–] ChaosAD 1 points 2 years ago
  lemmy-ui:
    image: dessalines/lemmy-ui:0.17.4
    environment:
      - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
      - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:1236
      - LEMMY_HTTPS=true
    depends_on:
      - lemmy
    networks:
      - lemmyinternal
    ports:
      - 1236:1234
    restart: always
    logging: *default-logging

It is odd, I have added the port in the docker-compose.yml file.

[–] ChaosAD -2 points 2 years ago (2 children)

I am talking about @spirit not you.

[–] ChaosAD 2 points 2 years ago (2 children)

Just one more if you don't mind, please.

Here should not be displaying the ports for lemmy-ui and lemmy-postgres too?

view more: ‹ prev next ›