https://linen.dev logo
Join Discord
Powered by
# general
  • s

    Scott (EN-DE)

    02/03/2023, 3:59 AM
    https://tenor.com/view/thinking-overthinking-idea-dont-uderstand-problem-gif-20153689
  • b

    Ben

    02/03/2023, 5:00 PM
    We're hiring a part-time position to help us build out our docs and examples! 🧑‍💻 This includes building templates for new clouds and writing "getting started/best practices" docs. Send me a DM if you're interested or email
    ben@coder.com
  • c

    cfouche

    02/03/2023, 8:52 PM
    With the current state the rich parameter https://github.com/coder/coder/issues/5574 can I use the rich parameter ?
  • z

    Zaserr

    02/04/2023, 4:25 AM
    Would it be easy to make an all in one template for web dev docker image? I would need nodejs, php, mysql, phpmyadmin, and apache.
  • p

    Phorcys

    02/04/2023, 8:15 AM
    shouldn't be too hard
  • p

    Phorcys

    02/04/2023, 8:15 AM
    do you know how to make a Dockerfile?
  • p

    Phorcys

    02/04/2023, 8:16 AM
    Copy code
    FROM ubuntu:latest
    
    RUN somecommand
    RUN anotherone
  • p

    Phorcys

    02/04/2023, 8:17 AM
    a dockerfile is basically just a script when you think about it
  • p

    Phorcys

    02/04/2023, 8:17 AM
    you can take a look at mine's @https://github.com/uwu/basic-env/blob/main/docker/Dockerfile
  • p

    Phorcys

    02/04/2023, 8:17 AM
    I commented it so it should be readable
  • p

    Phorcys

    02/04/2023, 8:19 AM
    if you have any other questions just @ me and I'll answer when I can, I can see we don't have matching timezones so it might take a bit for me to respond
  • c

    cfouche

    02/04/2023, 12:35 PM
    ?
  • b

    BEAST

    02/04/2023, 2:48 PM
    hey
  • b

    BEAST

    02/04/2023, 2:48 PM
    Anyone here expert in coding and can make a bot with my req easily
  • b

    BEAST

    02/04/2023, 2:48 PM
    will pay for sure
  • c

    Codercord

    02/04/2023, 4:12 PM
    This is the wrong server, you are looking at the discord server, which is a product that lets you use remote machines as development environments. you can ask in or (@BEAST)
  • s

    Scott (EN-DE)

    02/04/2023, 4:15 PM
    That would be breaking the premise of Docker though, which is only one service per container.
  • b

    BEAST

    02/04/2023, 4:27 PM
    @Phorcys in .gg/code they kicked me they saying I am advertising but I need someone who can do work for me
  • p

    Phorcys

    02/04/2023, 4:31 PM
    well I've got to say this isn't a programming server either so if there's a place to ask it's not here
  • p

    Phorcys

    02/04/2023, 4:31 PM
    i don't really agree, docker in the context of coder is just a runtime which means packing a lot of stuff in it isn't an issue
  • b

    BEAST

    02/04/2023, 4:33 PM
    can you help me I need some who is expert in making bot
  • p

    Phorcys

    02/04/2023, 4:34 PM
    i cannot
  • b

    BEAST

    02/04/2023, 4:36 PM
    alright thanks for not kicking or banning me otherwise all server banning me with useless reason
  • b

    BEAST

    02/04/2023, 4:36 PM
    see you later
  • s

    Scott (EN-DE)

    02/04/2023, 4:41 PM
    From Docker: > A container’s main running process is the ENTRYPOINT and/or CMD at the end of the Dockerfile. It is generally recommended that you separate areas of concern by using one service per container. That service may fork into multiple processes (for example, Apache web server starts multiple worker processes). It’s ok to have multiple processes, but to get the most benefit out of Docker, avoid one container being responsible for multiple aspects of your overall application. You can connect multiple containers using user-defined networks and shared volumes. Theoretically, with a terraform template using the Docker provider, (not sure myself on this as I'm using the k8s provider, but it should be similar), you can generate a number of services (containers) to build out the environment. That means, you have single containers for the database, apache, PHP, etc. That's what I'd suggest to do.
  • s

    Scott (EN-DE)

    02/04/2023, 4:42 PM
    This is assuming Coder is already running inside Docker.
  • p

    Phorcys

    02/04/2023, 4:42 PM
    I know but the Dockerfile's ENTRYPOINT doesn't come into play in the context of coder, and I think that doing the separation intended by docker using terraform would require some overengineering, in both cases it doesn't change the end result much
  • p

    Phorcys

    02/04/2023, 4:43 PM
    standalone Docker and how Coder uses it are not really playing by the same rules imo
  • p

    Phorcys

    02/04/2023, 4:43 PM
    since it's a dev-env it wouldn't make much sense to have multiple CTs, it'd be like if you had multiple computers instead of only one for development
  • s

    Scott (EN-DE)

    02/04/2023, 4:45 PM
    Hmm.... it's only one computer. A container is a service. It's like, instead of installing the service like MySQL on your computer, you install a container.
1...535455...96Latest