1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404}
0 => App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2021
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458
+user: App\Entity\User {#260 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "Adding-services-to-an-existing-Docker-nginx-container"
+title: "Adding services to an existing Docker nginx container"
+url: null
+body: """
Hi, I’m just getting started with Docker, so apologies in advance if this seems silly.\n
\n
I used to self-host multiple services (RSS reader, invoicing software, personal wiki) directly on a VPS using nginx and mariadb. I messed it up recently and am starting again, but this time I took the docker route.\n
\n
So I’ve set up the invoicing software ([InvoiceNinja](https://hub.docker.com/r/invoiceninja/invoiceninja/)), and everything is working as I want.\n
\n
Now that I want to add the other services (ttrss and dokuwiki), should I set up new containers? It feels wasteful.\n
\n
Instead, if I add additional configs to the existing servers that the InvoiceNinja docker-compose generated (nginx and mysql), I’m worried that an update to Invoiceninja would have a chance of messing up the other setups as well.\n
\n
It shouldn’t, from my understanding of how docker containers work, but I’m not 100% sure. What would be the best way to proceed?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 14
+favouriteCount: 9
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1726812287 {#1445
date: 2024-09-20 08:04:47.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1648 …}
+votes: Doctrine\ORM\PersistentCollection {#1675 …}
+reports: Doctrine\ORM\PersistentCollection {#1672 …}
+favourites: Doctrine\ORM\PersistentCollection {#1579 …}
+notifications: Doctrine\ORM\PersistentCollection {#1578 …}
+badges: Doctrine\ORM\PersistentCollection {#1549 …}
+children: [
5 => App\Entity\EntryComment {#2411
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705575201 {#1629
date: 2024-01-18 11:53:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2384 …}
+nested: Doctrine\ORM\PersistentCollection {#2386 …}
+votes: Doctrine\ORM\PersistentCollection {#2372 …}
+reports: Doctrine\ORM\PersistentCollection {#2361 …}
+favourites: Doctrine\ORM\PersistentCollection {#2360 …}
+notifications: Doctrine\ORM\PersistentCollection {#2370 …}
-id: 318877
-bodyTs: "'contain':25 'docker':24 'exact':4 'm':7 'map':17 'new':28 'one':29 'remain':19 'servic':20 'unsur':13 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6482642"
+editedAt: null
+createdAt: DateTimeImmutable @1705575201 {#2448
date: 2024-01-18 11:53:21.0 +01:00
}
+"title": 318877
}
4 => App\Entity\EntryComment {#2467
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2469 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2378 …}
+body: "Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705576759 {#2371
date: 2024-01-18 12:19:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@Illecors@lemmy.cafe"
]
+children: Doctrine\ORM\PersistentCollection {#2470 …}
+nested: Doctrine\ORM\PersistentCollection {#2459 …}
+votes: Doctrine\ORM\PersistentCollection {#2454 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2460 …}
+notifications: Doctrine\ORM\PersistentCollection {#2461 …}
-id: 318932
-bodyTs: "'fair':10 'guess':7 'hindsight':13 'make':4 'obvious':11 'sens':5 'thank':1 'yes':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6483058"
+editedAt: null
+createdAt: DateTimeImmutable @1705576759 {#2471
date: 2024-01-18 12:19:19.0 +01:00
}
+"title": 318932
}
3 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2385 …}
+body: """
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).\n
\n
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651047 {#2462
date: 2024-01-19 08:57:27.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@ShortN0te@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2379 …}
+nested: Doctrine\ORM\PersistentCollection {#2383 …}
+votes: Doctrine\ORM\PersistentCollection {#1906 …}
+reports: Doctrine\ORM\PersistentCollection {#1708 …}
+favourites: Doctrine\ORM\PersistentCollection {#1410 …}
+notifications: Doctrine\ORM\PersistentCollection {#1907 …}
-id: 321912
-bodyTs: "'answer':41 'architectur':19 'aren':1 'compos':7,11 'contain':3,15,30 'dedupl':45 'docker':27 'doesn':51 'eg':35 'file':8,12 'former':61 'get':39 'i.e':9 'like':56 'look':54 'm':21,38 'mysql':36 'other':47 'process':34 'product':5 'run':31 'say':42,48 'separ':29 'spin':13 'streamlin':28 'sure':24 'though':62 'understand':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507219"
+editedAt: null
+createdAt: DateTimeImmutable @1705651047 {#2422
date: 2024-01-19 08:57:27.0 +01:00
}
+"title": 321912
}
2 => App\Entity\EntryComment {#2391
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: """
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).\n
\n
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651520 {#1407
date: 2024-01-19 09:05:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2369 …}
+nested: Doctrine\ORM\PersistentCollection {#2392 …}
+votes: Doctrine\ORM\PersistentCollection {#2395 …}
+reports: Doctrine\ORM\PersistentCollection {#1384 …}
+favourites: Doctrine\ORM\PersistentCollection {#1383 …}
+notifications: Doctrine\ORM\PersistentCollection {#1405 …}
-id: 321930
-bodyTs: "'2':38 'also':28 'answer':63 'app':19 'app1':23 'app2':27 'case':48 'conflict':62 'docker':13 'especi':49 'exampl':21 'get':61 'like':67 'll':69 'look':66 'low':56 'low-ram':55 'm':52,60 'manag':14 'mysql':25,30,39 'process':16,40 'question':10 'ram':36,57 'see':76 'seem':42 'share':15 'sinc':50 'take':33 'tri':72 'use':24,29 'vps':58 'want':6 'wast':43 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507309"
+editedAt: null
+createdAt: DateTimeImmutable @1705651520 {#1883
date: 2024-01-19 09:05:20.0 +01:00
}
+"title": 321930
}
1 => App\Entity\EntryComment {#1404
+user: App\Entity\User {#260 …}
+entry: App\Entity\Entry {#1458}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1363 …}
+body: "That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705651672 {#1382
date: 2024-01-19 09:07:52.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@markr@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1361 …}
+nested: Doctrine\ORM\PersistentCollection {#1403 …}
+votes: Doctrine\ORM\PersistentCollection {#2023 …}
+reports: Doctrine\ORM\PersistentCollection {#2032 …}
+favourites: Doctrine\ORM\PersistentCollection {#2024 …}
+notifications: Doctrine\ORM\PersistentCollection {#2018 …}
-id: 321936
-bodyTs: "'add':21 'dedupl':30 'get':34 'impress':4 'know':27 'low':14 'low-ram':13 'm':10 'overhead':18 'process':29 'ram':15,20 'sinc':8 'vps':16 'want':25 'well':6 'work':31"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6507340"
+editedAt: null
+createdAt: DateTimeImmutable @1705651672 {#1401
date: 2024-01-19 09:07:52.0 +01:00
}
+"title": 321936
}
0 => App\Entity\EntryComment {#2021}
]
-id: 31447
-titleTs: "'ad':1 'contain':8 'docker':6 'exist':5 'nginx':7 'servic':2"
-bodyTs: "'/r/invoiceninja/invoiceninja/)),':67 '100':151 'add':80,99 'addit':100 'advanc':12 'apolog':10 'best':157 'chanc':127 'compos':111 'config':101 'contain':92,145 'direct':31 'docker':8,54,110,144 'docker-compos':109 'dokuwiki':86 'everyth':69 'exist':104 'feel':94 'generat':112 'get':5 'hi':1 'host':22 'hub.docker.com':66 'hub.docker.com/r/invoiceninja/invoiceninja/)),':65 'instead':96 'invoic':27,62 'invoiceninja':64,108,123 'm':3,117,149 'mariadb':38 'mess':40,129 'multipl':23 'mysql':115 'new':91 'nginx':36,113 'person':29 'proceed':160 'reader':26 'recent':43 'rout':55 'rss':25 'seem':15 'self':21 'self-host':20 'server':105 'servic':24,83 'set':59,89 'setup':133 'shouldn':137 'silli':16 'softwar':28,63 'start':6,46 'sure':152 'time':50 'took':52 'ttrss':84 'understand':141 'updat':121 'use':18,35 've':58 'vps':34 'want':74,78 'wast':95 'way':158 'well':135 'wiki':30 'work':71,146 'worri':118 'would':124,154"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705635780
+visibility: "visible "
+apId: "https://lemmy.ca/post/13532132"
+editedAt: DateTimeImmutable @1726356978 {#1642
date: 2024-09-15 01:36:18.0 +02:00
}
+createdAt: DateTimeImmutable @1705571780 {#1622
date: 2024-01-18 10:56:20.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1661 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2028 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#2389 …}
+body: "This is promising, thanks!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705685960 {#2011
date: 2024-01-19 18:39:20.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@mudeth@lemmy.ca"
"@N0x0n@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#2029 …}
+nested: Doctrine\ORM\PersistentCollection {#2020 …}
+votes: Doctrine\ORM\PersistentCollection {#2027 …}
+reports: Doctrine\ORM\PersistentCollection {#2031 …}
+favourites: Doctrine\ORM\PersistentCollection {#2037 …}
+notifications: Doctrine\ORM\PersistentCollection {#2075 …}
-id: 323369
-bodyTs: "'promis':3 'thank':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6516582"
+editedAt: null
+createdAt: DateTimeImmutable @1705685960 {#2033
date: 2024-01-19 18:39:20.0 +01:00
}
+"title": 323369
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1717
+user: Proxies\__CG__\App\Entity\User {#2065 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "What-would-happen-if-we-put-a-giant-glass-tinted"
+title: "What would happen if we put a giant glass tinted dome over each city?"
+url: null
+body: """
In this scenario, we aren’t trapped in the dome. There are openings and doors, so we can get out, cycle in fresh air, etc.\n
\n
Is this a viable solution to way to avoid the effects of climate change? Would it be cooler in the dome? Would there be any negative repercussions? Would clouds form inside the dome? Could it rain in the dome? Would the rain be more toxic than usual because car fumes wouldn’t dilute as well? Could outside lightning break the dome if it got struck? Would there be a single point in the dome that the sunlight would be directed to that everyone would just have to avoid, else they just burst into flame?\n
\n
Sorry but I have so many questions about this. Apparently there was a show about the situation, but all I remember is that it wasn’t very good. Hank from Breaking Bad was in it.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 38
+favouriteCount: 51
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1689729303 {#2096
date: 2023-07-19 03:15:03.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2041 …}
+votes: Doctrine\ORM\PersistentCollection {#2099 …}
+reports: Doctrine\ORM\PersistentCollection {#2108 …}
+favourites: Doctrine\ORM\PersistentCollection {#2101 …}
+notifications: Doctrine\ORM\PersistentCollection {#2109 …}
+badges: Doctrine\ORM\PersistentCollection {#2106 …}
+children: [
App\Entity\EntryComment {#1620
+user: App\Entity\User {#260 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1717 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+parent: null
+root: null
+body: """
My friend made a podcast episode exploring this idea in detail: [m.youtube.com/watch?v=xj5r6HLGfcM](https://m.youtube.com/watch?v=xj5r6HLGfcM)\n
\n
Disclaimer: I edited it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1689670898 {#1567
date: 2023-07-18 11:01:38.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@figaro@lemdro.id"
]
+children: Doctrine\ORM\PersistentCollection {#1720 …}
+nested: Doctrine\ORM\PersistentCollection {#1714 …}
+votes: Doctrine\ORM\PersistentCollection {#1724 …}
+reports: Doctrine\ORM\PersistentCollection {#1733 …}
+favourites: Doctrine\ORM\PersistentCollection {#1686 …}
+notifications: Doctrine\ORM\PersistentCollection {#1705 …}
-id: 21550
-bodyTs: "'/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':14 'detail':11 'disclaim':15 'edit':17 'episod':6 'explor':7 'friend':2 'idea':9 'm.youtube.com':13 'm.youtube.com/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':12 'made':3 'podcast':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/1333471"
+editedAt: null
+createdAt: DateTimeImmutable @1689667658 {#1526
date: 2023-07-18 10:07:38.0 +02:00
}
+"title": 21550
}
]
-id: 1406
-titleTs: "'citi':14 'dome':11 'giant':8 'glass':9 'happen':3 'put':6 'tint':10 'would':2"
-bodyTs: "'air':24 'appar':129 'aren':5 'avoid':34,113 'bad':151 'break':84,150 'burst':117 'car':74 'chang':39 'climat':38 'cloud':54 'cooler':43 'could':59,81 'cycl':21 'dilut':78 'direct':105 'dome':10,46,58,64,86,99 'door':15 'effect':36 'els':114 'etc':25 'everyon':108 'flame':119 'form':55 'fresh':23 'fume':75 'get':19 'good':147 'got':89 'hank':148 'insid':56 'lightn':83 'mani':125 'negat':51 'open':13 'outsid':82 'point':96 'question':126 'rain':61,67 'rememb':140 'repercuss':52 'scenario':3 'show':133 'singl':95 'situat':136 'solut':30 'sorri':120 'struck':90 'sunlight':102 'toxic':70 'trap':7 'usual':72 'viabl':29 'wasn':144 'way':32 'well':80 'would':40,47,53,65,91,103,109 'wouldn':76"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1689733315
+visibility: "visible "
+apId: "https://lemdro.id/post/109413"
+editedAt: DateTimeImmutable @1689647015 {#2125
date: 2023-07-18 04:23:35.0 +02:00
}
+createdAt: DateTimeImmutable @1689646915 {#2059
date: 2023-07-18 04:21:55.0 +02:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
Proxies\__CG__\App\Entity\Entry {#1717
+user: Proxies\__CG__\App\Entity\User {#2065 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "What-would-happen-if-we-put-a-giant-glass-tinted"
+title: "What would happen if we put a giant glass tinted dome over each city?"
+url: null
+body: """
In this scenario, we aren’t trapped in the dome. There are openings and doors, so we can get out, cycle in fresh air, etc.\n
\n
Is this a viable solution to way to avoid the effects of climate change? Would it be cooler in the dome? Would there be any negative repercussions? Would clouds form inside the dome? Could it rain in the dome? Would the rain be more toxic than usual because car fumes wouldn’t dilute as well? Could outside lightning break the dome if it got struck? Would there be a single point in the dome that the sunlight would be directed to that everyone would just have to avoid, else they just burst into flame?\n
\n
Sorry but I have so many questions about this. Apparently there was a show about the situation, but all I remember is that it wasn’t very good. Hank from Breaking Bad was in it.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 38
+favouriteCount: 51
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1689729303 {#2096
date: 2023-07-19 03:15:03.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2041 …}
+votes: Doctrine\ORM\PersistentCollection {#2099 …}
+reports: Doctrine\ORM\PersistentCollection {#2108 …}
+favourites: Doctrine\ORM\PersistentCollection {#2101 …}
+notifications: Doctrine\ORM\PersistentCollection {#2109 …}
+badges: Doctrine\ORM\PersistentCollection {#2106 …}
+children: [
App\Entity\EntryComment {#1620
+user: App\Entity\User {#260 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1717 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+parent: null
+root: null
+body: """
My friend made a podcast episode exploring this idea in detail: [m.youtube.com/watch?v=xj5r6HLGfcM](https://m.youtube.com/watch?v=xj5r6HLGfcM)\n
\n
Disclaimer: I edited it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1689670898 {#1567
date: 2023-07-18 11:01:38.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@figaro@lemdro.id"
]
+children: Doctrine\ORM\PersistentCollection {#1720 …}
+nested: Doctrine\ORM\PersistentCollection {#1714 …}
+votes: Doctrine\ORM\PersistentCollection {#1724 …}
+reports: Doctrine\ORM\PersistentCollection {#1733 …}
+favourites: Doctrine\ORM\PersistentCollection {#1686 …}
+notifications: Doctrine\ORM\PersistentCollection {#1705 …}
-id: 21550
-bodyTs: "'/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':14 'detail':11 'disclaim':15 'edit':17 'episod':6 'explor':7 'friend':2 'idea':9 'm.youtube.com':13 'm.youtube.com/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':12 'made':3 'podcast':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/1333471"
+editedAt: null
+createdAt: DateTimeImmutable @1689667658 {#1526
date: 2023-07-18 10:07:38.0 +02:00
}
+"title": 21550
}
]
-id: 1406
-titleTs: "'citi':14 'dome':11 'giant':8 'glass':9 'happen':3 'put':6 'tint':10 'would':2"
-bodyTs: "'air':24 'appar':129 'aren':5 'avoid':34,113 'bad':151 'break':84,150 'burst':117 'car':74 'chang':39 'climat':38 'cloud':54 'cooler':43 'could':59,81 'cycl':21 'dilut':78 'direct':105 'dome':10,46,58,64,86,99 'door':15 'effect':36 'els':114 'etc':25 'everyon':108 'flame':119 'form':55 'fresh':23 'fume':75 'get':19 'good':147 'got':89 'hank':148 'insid':56 'lightn':83 'mani':125 'negat':51 'open':13 'outsid':82 'point':96 'question':126 'rain':61,67 'rememb':140 'repercuss':52 'scenario':3 'show':133 'singl':95 'situat':136 'solut':30 'sorri':120 'struck':90 'sunlight':102 'toxic':70 'trap':7 'usual':72 'viabl':29 'wasn':144 'way':32 'well':80 'would':40,47,53,65,91,103,109 'wouldn':76"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1689733315
+visibility: "visible "
+apId: "https://lemdro.id/post/109413"
+editedAt: DateTimeImmutable @1689647015 {#2125
date: 2023-07-18 04:23:35.0 +02:00
}
+createdAt: DateTimeImmutable @1689646915 {#2059
date: 2023-07-18 04:21:55.0 +02:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1717
+user: Proxies\__CG__\App\Entity\User {#2065 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "What-would-happen-if-we-put-a-giant-glass-tinted"
+title: "What would happen if we put a giant glass tinted dome over each city?"
+url: null
+body: """
In this scenario, we aren’t trapped in the dome. There are openings and doors, so we can get out, cycle in fresh air, etc.\n
\n
Is this a viable solution to way to avoid the effects of climate change? Would it be cooler in the dome? Would there be any negative repercussions? Would clouds form inside the dome? Could it rain in the dome? Would the rain be more toxic than usual because car fumes wouldn’t dilute as well? Could outside lightning break the dome if it got struck? Would there be a single point in the dome that the sunlight would be directed to that everyone would just have to avoid, else they just burst into flame?\n
\n
Sorry but I have so many questions about this. Apparently there was a show about the situation, but all I remember is that it wasn’t very good. Hank from Breaking Bad was in it.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 38
+favouriteCount: 51
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1689729303 {#2096
date: 2023-07-19 03:15:03.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2041 …}
+votes: Doctrine\ORM\PersistentCollection {#2099 …}
+reports: Doctrine\ORM\PersistentCollection {#2108 …}
+favourites: Doctrine\ORM\PersistentCollection {#2101 …}
+notifications: Doctrine\ORM\PersistentCollection {#2109 …}
+badges: Doctrine\ORM\PersistentCollection {#2106 …}
+children: [
App\Entity\EntryComment {#1620
+user: App\Entity\User {#260 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1717 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+parent: null
+root: null
+body: """
My friend made a podcast episode exploring this idea in detail: [m.youtube.com/watch?v=xj5r6HLGfcM](https://m.youtube.com/watch?v=xj5r6HLGfcM)\n
\n
Disclaimer: I edited it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1689670898 {#1567
date: 2023-07-18 11:01:38.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@figaro@lemdro.id"
]
+children: Doctrine\ORM\PersistentCollection {#1720 …}
+nested: Doctrine\ORM\PersistentCollection {#1714 …}
+votes: Doctrine\ORM\PersistentCollection {#1724 …}
+reports: Doctrine\ORM\PersistentCollection {#1733 …}
+favourites: Doctrine\ORM\PersistentCollection {#1686 …}
+notifications: Doctrine\ORM\PersistentCollection {#1705 …}
-id: 21550
-bodyTs: "'/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':14 'detail':11 'disclaim':15 'edit':17 'episod':6 'explor':7 'friend':2 'idea':9 'm.youtube.com':13 'm.youtube.com/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':12 'made':3 'podcast':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/1333471"
+editedAt: null
+createdAt: DateTimeImmutable @1689667658 {#1526
date: 2023-07-18 10:07:38.0 +02:00
}
+"title": 21550
}
]
-id: 1406
-titleTs: "'citi':14 'dome':11 'giant':8 'glass':9 'happen':3 'put':6 'tint':10 'would':2"
-bodyTs: "'air':24 'appar':129 'aren':5 'avoid':34,113 'bad':151 'break':84,150 'burst':117 'car':74 'chang':39 'climat':38 'cloud':54 'cooler':43 'could':59,81 'cycl':21 'dilut':78 'direct':105 'dome':10,46,58,64,86,99 'door':15 'effect':36 'els':114 'etc':25 'everyon':108 'flame':119 'form':55 'fresh':23 'fume':75 'get':19 'good':147 'got':89 'hank':148 'insid':56 'lightn':83 'mani':125 'negat':51 'open':13 'outsid':82 'point':96 'question':126 'rain':61,67 'rememb':140 'repercuss':52 'scenario':3 'show':133 'singl':95 'situat':136 'solut':30 'sorri':120 'struck':90 'sunlight':102 'toxic':70 'trap':7 'usual':72 'viabl':29 'wasn':144 'way':32 'well':80 'would':40,47,53,65,91,103,109 'wouldn':76"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1689733315
+visibility: "visible "
+apId: "https://lemdro.id/post/109413"
+editedAt: DateTimeImmutable @1689647015 {#2125
date: 2023-07-18 04:23:35.0 +02:00
}
+createdAt: DateTimeImmutable @1689646915 {#2059
date: 2023-07-18 04:21:55.0 +02:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1620
+user: App\Entity\User {#260 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1717
+user: Proxies\__CG__\App\Entity\User {#2065 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "What-would-happen-if-we-put-a-giant-glass-tinted"
+title: "What would happen if we put a giant glass tinted dome over each city?"
+url: null
+body: """
In this scenario, we aren’t trapped in the dome. There are openings and doors, so we can get out, cycle in fresh air, etc.\n
\n
Is this a viable solution to way to avoid the effects of climate change? Would it be cooler in the dome? Would there be any negative repercussions? Would clouds form inside the dome? Could it rain in the dome? Would the rain be more toxic than usual because car fumes wouldn’t dilute as well? Could outside lightning break the dome if it got struck? Would there be a single point in the dome that the sunlight would be directed to that everyone would just have to avoid, else they just burst into flame?\n
\n
Sorry but I have so many questions about this. Apparently there was a show about the situation, but all I remember is that it wasn’t very good. Hank from Breaking Bad was in it.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 38
+favouriteCount: 51
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1689729303 {#2096
date: 2023-07-19 03:15:03.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2041 …}
+votes: Doctrine\ORM\PersistentCollection {#2099 …}
+reports: Doctrine\ORM\PersistentCollection {#2108 …}
+favourites: Doctrine\ORM\PersistentCollection {#2101 …}
+notifications: Doctrine\ORM\PersistentCollection {#2109 …}
+badges: Doctrine\ORM\PersistentCollection {#2106 …}
+children: [
App\Entity\EntryComment {#1620}
]
-id: 1406
-titleTs: "'citi':14 'dome':11 'giant':8 'glass':9 'happen':3 'put':6 'tint':10 'would':2"
-bodyTs: "'air':24 'appar':129 'aren':5 'avoid':34,113 'bad':151 'break':84,150 'burst':117 'car':74 'chang':39 'climat':38 'cloud':54 'cooler':43 'could':59,81 'cycl':21 'dilut':78 'direct':105 'dome':10,46,58,64,86,99 'door':15 'effect':36 'els':114 'etc':25 'everyon':108 'flame':119 'form':55 'fresh':23 'fume':75 'get':19 'good':147 'got':89 'hank':148 'insid':56 'lightn':83 'mani':125 'negat':51 'open':13 'outsid':82 'point':96 'question':126 'rain':61,67 'rememb':140 'repercuss':52 'scenario':3 'show':133 'singl':95 'situat':136 'solut':30 'sorri':120 'struck':90 'sunlight':102 'toxic':70 'trap':7 'usual':72 'viabl':29 'wasn':144 'way':32 'well':80 'would':40,47,53,65,91,103,109 'wouldn':76"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1689733315
+visibility: "visible "
+apId: "https://lemdro.id/post/109413"
+editedAt: DateTimeImmutable @1689647015 {#2125
date: 2023-07-18 04:23:35.0 +02:00
}
+createdAt: DateTimeImmutable @1689646915 {#2059
date: 2023-07-18 04:21:55.0 +02:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+parent: null
+root: null
+body: """
My friend made a podcast episode exploring this idea in detail: [m.youtube.com/watch?v=xj5r6HLGfcM](https://m.youtube.com/watch?v=xj5r6HLGfcM)\n
\n
Disclaimer: I edited it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1689670898 {#1567
date: 2023-07-18 11:01:38.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@figaro@lemdro.id"
]
+children: Doctrine\ORM\PersistentCollection {#1720 …}
+nested: Doctrine\ORM\PersistentCollection {#1714 …}
+votes: Doctrine\ORM\PersistentCollection {#1724 …}
+reports: Doctrine\ORM\PersistentCollection {#1733 …}
+favourites: Doctrine\ORM\PersistentCollection {#1686 …}
+notifications: Doctrine\ORM\PersistentCollection {#1705 …}
-id: 21550
-bodyTs: "'/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':14 'detail':11 'disclaim':15 'edit':17 'episod':6 'explor':7 'friend':2 'idea':9 'm.youtube.com':13 'm.youtube.com/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':12 'made':3 'podcast':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/1333471"
+editedAt: null
+createdAt: DateTimeImmutable @1689667658 {#1526
date: 2023-07-18 10:07:38.0 +02:00
}
+"title": 21550
} |
|
Show voter details
|
35 |
DENIED
|
edit
|
App\Entity\EntryComment {#1620
+user: App\Entity\User {#260 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1717
+user: Proxies\__CG__\App\Entity\User {#2065 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "What-would-happen-if-we-put-a-giant-glass-tinted"
+title: "What would happen if we put a giant glass tinted dome over each city?"
+url: null
+body: """
In this scenario, we aren’t trapped in the dome. There are openings and doors, so we can get out, cycle in fresh air, etc.\n
\n
Is this a viable solution to way to avoid the effects of climate change? Would it be cooler in the dome? Would there be any negative repercussions? Would clouds form inside the dome? Could it rain in the dome? Would the rain be more toxic than usual because car fumes wouldn’t dilute as well? Could outside lightning break the dome if it got struck? Would there be a single point in the dome that the sunlight would be directed to that everyone would just have to avoid, else they just burst into flame?\n
\n
Sorry but I have so many questions about this. Apparently there was a show about the situation, but all I remember is that it wasn’t very good. Hank from Breaking Bad was in it.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 38
+favouriteCount: 51
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1689729303 {#2096
date: 2023-07-19 03:15:03.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2041 …}
+votes: Doctrine\ORM\PersistentCollection {#2099 …}
+reports: Doctrine\ORM\PersistentCollection {#2108 …}
+favourites: Doctrine\ORM\PersistentCollection {#2101 …}
+notifications: Doctrine\ORM\PersistentCollection {#2109 …}
+badges: Doctrine\ORM\PersistentCollection {#2106 …}
+children: [
App\Entity\EntryComment {#1620}
]
-id: 1406
-titleTs: "'citi':14 'dome':11 'giant':8 'glass':9 'happen':3 'put':6 'tint':10 'would':2"
-bodyTs: "'air':24 'appar':129 'aren':5 'avoid':34,113 'bad':151 'break':84,150 'burst':117 'car':74 'chang':39 'climat':38 'cloud':54 'cooler':43 'could':59,81 'cycl':21 'dilut':78 'direct':105 'dome':10,46,58,64,86,99 'door':15 'effect':36 'els':114 'etc':25 'everyon':108 'flame':119 'form':55 'fresh':23 'fume':75 'get':19 'good':147 'got':89 'hank':148 'insid':56 'lightn':83 'mani':125 'negat':51 'open':13 'outsid':82 'point':96 'question':126 'rain':61,67 'rememb':140 'repercuss':52 'scenario':3 'show':133 'singl':95 'situat':136 'solut':30 'sorri':120 'struck':90 'sunlight':102 'toxic':70 'trap':7 'usual':72 'viabl':29 'wasn':144 'way':32 'well':80 'would':40,47,53,65,91,103,109 'wouldn':76"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1689733315
+visibility: "visible "
+apId: "https://lemdro.id/post/109413"
+editedAt: DateTimeImmutable @1689647015 {#2125
date: 2023-07-18 04:23:35.0 +02:00
}
+createdAt: DateTimeImmutable @1689646915 {#2059
date: 2023-07-18 04:21:55.0 +02:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+parent: null
+root: null
+body: """
My friend made a podcast episode exploring this idea in detail: [m.youtube.com/watch?v=xj5r6HLGfcM](https://m.youtube.com/watch?v=xj5r6HLGfcM)\n
\n
Disclaimer: I edited it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1689670898 {#1567
date: 2023-07-18 11:01:38.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@figaro@lemdro.id"
]
+children: Doctrine\ORM\PersistentCollection {#1720 …}
+nested: Doctrine\ORM\PersistentCollection {#1714 …}
+votes: Doctrine\ORM\PersistentCollection {#1724 …}
+reports: Doctrine\ORM\PersistentCollection {#1733 …}
+favourites: Doctrine\ORM\PersistentCollection {#1686 …}
+notifications: Doctrine\ORM\PersistentCollection {#1705 …}
-id: 21550
-bodyTs: "'/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':14 'detail':11 'disclaim':15 'edit':17 'episod':6 'explor':7 'friend':2 'idea':9 'm.youtube.com':13 'm.youtube.com/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':12 'made':3 'podcast':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/1333471"
+editedAt: null
+createdAt: DateTimeImmutable @1689667658 {#1526
date: 2023-07-18 10:07:38.0 +02:00
}
+"title": 21550
} |
|
Show voter details
|
36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1620
+user: App\Entity\User {#260 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1717
+user: Proxies\__CG__\App\Entity\User {#2065 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1641 …}
+slug: "What-would-happen-if-we-put-a-giant-glass-tinted"
+title: "What would happen if we put a giant glass tinted dome over each city?"
+url: null
+body: """
In this scenario, we aren’t trapped in the dome. There are openings and doors, so we can get out, cycle in fresh air, etc.\n
\n
Is this a viable solution to way to avoid the effects of climate change? Would it be cooler in the dome? Would there be any negative repercussions? Would clouds form inside the dome? Could it rain in the dome? Would the rain be more toxic than usual because car fumes wouldn’t dilute as well? Could outside lightning break the dome if it got struck? Would there be a single point in the dome that the sunlight would be directed to that everyone would just have to avoid, else they just burst into flame?\n
\n
Sorry but I have so many questions about this. Apparently there was a show about the situation, but all I remember is that it wasn’t very good. Hank from Breaking Bad was in it.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 38
+favouriteCount: 51
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1689729303 {#2096
date: 2023-07-19 03:15:03.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2041 …}
+votes: Doctrine\ORM\PersistentCollection {#2099 …}
+reports: Doctrine\ORM\PersistentCollection {#2108 …}
+favourites: Doctrine\ORM\PersistentCollection {#2101 …}
+notifications: Doctrine\ORM\PersistentCollection {#2109 …}
+badges: Doctrine\ORM\PersistentCollection {#2106 …}
+children: [
App\Entity\EntryComment {#1620}
]
-id: 1406
-titleTs: "'citi':14 'dome':11 'giant':8 'glass':9 'happen':3 'put':6 'tint':10 'would':2"
-bodyTs: "'air':24 'appar':129 'aren':5 'avoid':34,113 'bad':151 'break':84,150 'burst':117 'car':74 'chang':39 'climat':38 'cloud':54 'cooler':43 'could':59,81 'cycl':21 'dilut':78 'direct':105 'dome':10,46,58,64,86,99 'door':15 'effect':36 'els':114 'etc':25 'everyon':108 'flame':119 'form':55 'fresh':23 'fume':75 'get':19 'good':147 'got':89 'hank':148 'insid':56 'lightn':83 'mani':125 'negat':51 'open':13 'outsid':82 'point':96 'question':126 'rain':61,67 'rememb':140 'repercuss':52 'scenario':3 'show':133 'singl':95 'situat':136 'solut':30 'sorri':120 'struck':90 'sunlight':102 'toxic':70 'trap':7 'usual':72 'viabl':29 'wasn':144 'way':32 'well':80 'would':40,47,53,65,91,103,109 'wouldn':76"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1689733315
+visibility: "visible "
+apId: "https://lemdro.id/post/109413"
+editedAt: DateTimeImmutable @1689647015 {#2125
date: 2023-07-18 04:23:35.0 +02:00
}
+createdAt: DateTimeImmutable @1689646915 {#2059
date: 2023-07-18 04:21:55.0 +02:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1716 …}
+image: null
+parent: null
+root: null
+body: """
My friend made a podcast episode exploring this idea in detail: [m.youtube.com/watch?v=xj5r6HLGfcM](https://m.youtube.com/watch?v=xj5r6HLGfcM)\n
\n
Disclaimer: I edited it.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1689670898 {#1567
date: 2023-07-18 11:01:38.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@figaro@lemdro.id"
]
+children: Doctrine\ORM\PersistentCollection {#1720 …}
+nested: Doctrine\ORM\PersistentCollection {#1714 …}
+votes: Doctrine\ORM\PersistentCollection {#1724 …}
+reports: Doctrine\ORM\PersistentCollection {#1733 …}
+favourites: Doctrine\ORM\PersistentCollection {#1686 …}
+notifications: Doctrine\ORM\PersistentCollection {#1705 …}
-id: 21550
-bodyTs: "'/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':14 'detail':11 'disclaim':15 'edit':17 'episod':6 'explor':7 'friend':2 'idea':9 'm.youtube.com':13 'm.youtube.com/watch?v=xj5r6hlgfcm](https://m.youtube.com/watch?v=xj5r6hlgfcm)':12 'made':3 'podcast':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/1333471"
+editedAt: null
+createdAt: DateTimeImmutable @1689667658 {#1526
date: 2023-07-18 10:07:38.0 +02:00
}
+"title": 21550
} |
|
Show voter details
|
37 |
DENIED
|
ROLE_ADMIN
|
null |
|
Show voter details
|
38 |
DENIED
|
ROLE_MODERATOR
|
null |
|
Show voter details
|