Skip to content

Commit f4ab80f

Browse files
committed
update guide here with correct format (i think)
1 parent 1d9150a commit f4ab80f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/posts/7.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ gluetun_cobalt_api:
6565
<blockquote class="alert-box">
6666
<p>If you change your cobalt ports, change the port allocation on gluetun to match the ports you used for cobalt.</p>
6767
</blockquote>
68+
6869
In the 2 environment variables, `WIREGUARD_PUBLIC_KEY` and `WIREGUARD_PRIVATE_KEY`, you need to change these to the ones you generated from step 1. You can find them in the `wgcf-profile.conf` file. Find the two fields in the file `PrivateKey` and `PublicKey`. Set the two environment variables to them.
6970

7071
Change your image from `ghcr.io/imputnet/cobalt:11` to either `git.canine.tools/canine.tools/cobalt:api` or `ghcr.io/zimpatrick/cobalt:staging`. These two images are forks that made changes to allow YouTube (and others) work.
@@ -93,8 +94,8 @@ services:
9394
container_name: cobalt_api
9495
environment:
9596
# adjust as needed
96-
API_URL: 'https://api.url.example/'
97-
CUSTOM_INNERTUBE_CLIENT: WEB_EMBEDDED # make sure this is here
97+
API_URL='https://api.url.example/'
98+
CUSTOM_INNERTUBE_CLIENT=WEB_EMBEDDED # make sure this is here
9899
network_mode: service:gluetun_cobalt_api
99100
volumes:
100101
# adjust as needed
@@ -109,13 +110,13 @@ services:
109110
image: qmcgaw/gluetun
110111
container_name: gluetun_cobalt_api
111112
environment:
112-
- VPN_SERVICE_PROVIDER: custom
113-
- VPN_TYPE: wireguard
114-
- WIREGUARD_ENDPOINT_IP: 162.159.192.1
115-
- WIREGUARD_ENDPOINT_PORT: 2408
116-
- WIREGUARD_PUBLIC_KEY: add_public_key
117-
- WIREGUARD_PRIVATE_KEY: add_private_key
118-
- WIREGUARD_ADDRESSES: 172.16.0.2/32
113+
- VPN_SERVICE_PROVIDER=custom
114+
- VPN_TYPE=wireguard
115+
- WIREGUARD_ENDPOINT_IP=162.159.192.1
116+
- WIREGUARD_ENDPOINT_PORT=2408
117+
- WIREGUARD_PUBLIC_KEY=add_public_key
118+
- WIREGUARD_PRIVATE_KEY=add_private_key
119+
- WIREGUARD_ADDRESSES=172.16.0.2/32
119120
cap_add:
120121
- NET_ADMIN
121122
devices:

0 commit comments

Comments
 (0)