-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
081d940
commit 643a28b
Showing
12 changed files
with
185 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ vendor/ | |
tmp/ | ||
~tmp/ | ||
~/ | ||
tmpconf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
services: | ||
deproxy: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
container_name: deproxy | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- ./tmpconf/:/tmpconf | ||
- base_volume:/storage | ||
# - proxy_volume:/storage/cachedir | ||
# - mirror_volume:/storage/mirrordir | ||
environment: | ||
- BASE_DIR=/storage | ||
# - CACHE_DIR=~/tmp/storage/cachedir | ||
# - MIRROR_DIR=~/tmp/storage/mirrordir | ||
- CONFIG_DIR=/tmpconf | ||
|
||
volumes: | ||
base_volume: | ||
# proxy_volume: | ||
# mirror_volume: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
path: mirror/apt | ||
|
||
mirrors: | ||
ubuntu: | ||
official: | ||
url: http://archive.ubuntu.com/ubuntu | ||
kakao: | ||
url: http://mirror.kakao.com/ubuntu | ||
ubuntu-security: | ||
url: http://security.ubuntu.com/ubuntu | ||
debian: | ||
official: | ||
url: http://ftp.debian.org/debian | ||
kakao: | ||
url: http://mirror.kakao.com/debian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
path: proxy/apt | ||
|
||
#cache: | ||
# enabled: false | ||
# retention_time: 1h | ||
# evict: 1h | ||
|
||
proxies: | ||
ubuntu: | ||
- name: official | ||
url: http://archive.ubuntu.com/ubuntu | ||
- name: kakao | ||
url: http://mirror.kakao.com/ubuntu | ||
- name: ubuntu-security | ||
url: http://security.ubuntu.com/ubuntu | ||
debian: | ||
- name: official | ||
url: http://ftp.debian.org/debian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#path: ~/tmp/mirror/git | ||
# | ||
#workpath: ~/mymirror | ||
# | ||
## naming은... github/{user}/{repo}를 기본으로 | ||
## 아니면 | ||
## repoanme만 쓸 수 있으면 쓰고.. | ||
## {user}-{repo} 안되는 경우 | ||
# | ||
#mirrors: | ||
# github: | ||
# zitryss: | ||
# groups: ['go'] | ||
# repos: | ||
# go-sample: | ||
# # branch: master | ||
# groups: ['git', 'go'] | ||
# PersonaIam: | ||
# groups: ['coin'] | ||
# repos: | ||
# persona-client: | ||
# groups: ['coin', 'go'] | ||
# streamlit: | ||
# groups: ['coin', 'python'] | ||
# repos: | ||
# streamlit: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#proxy: | ||
# http: 192.168.11.99:3128 | ||
# https: 192.168.11.99:3129 | ||
|
||
#if base_dir set? proxy, mirror relative | ||
base_dir: ~/tmp/deproxy | ||
#proxy_root: ~/tmp/proxy | ||
#mirror_root: ~/tmp/mirror |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#path: ~/tmp/data/maven/ | ||
# | ||
#repositories: | ||
# company-dev: | ||
# snapshot: true | ||
# overwrite: true | ||
# company-prd: | ||
# snapshot: false | ||
# overwrite: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
path: mirror/maven | ||
use_cache: true | ||
# https://docs.gradle.org/current/userguide/declaring_repositories.html | ||
|
||
mirrors: | ||
central: | ||
name: maven-center | ||
url: https://repo.maven.apache.org/maven2/ | ||
description: "maven centeral" | ||
jcenter: | ||
name: jcenter | ||
url: https://jcenter.bintray.com | ||
google: | ||
name: google | ||
url: https://maven.google.com | ||
spring_release: | ||
name: repo.spring.io-releases | ||
url: https://repo.spring.io/release | ||
spring_snapshots: | ||
name: repo.spring.io-snapshots | ||
url: https://repo.spring.io/snapshot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
path: proxy/maven | ||
use_cache: true | ||
# https://docs.gradle.org/current/userguide/declaring_repositories.html | ||
|
||
proxies: | ||
- name: Maven Center | ||
id: maven-center | ||
url: https://repo.maven.apache.org/maven2/ | ||
description: "maven centeral" | ||
- name: jcener | ||
id: jcenter | ||
url: https://jcenter.bintray.com | ||
- name: google | ||
id: google | ||
url: https://maven.google.com | ||
# https://repo.spring.io/webapp/#/home | ||
- name: spring_release | ||
id: repo.spring.io-releases | ||
url: https://repo.spring.io/release | ||
- name: spring_snapshots | ||
id: repo.spring.io-snapshots | ||
url: https://repo.spring.io/snapshot | ||
|
||
# company_internal: | ||
# url: http://company | ||
# description: "my company" | ||
# auth: | ||
# method: BASIC | ||
# username: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#users: | ||
# - name: admin | ||
# password: passw0rd | ||
# roles: [ admin ] | ||
# - name: user | ||
# password: passw0rd | ||
# roles: [ user, deploy ] | ||
# | ||
#roles: | ||
# admin: | ||
# permissions: | ||
# - * | ||
# developer: | ||
# permissions: | ||
# - read | ||
# - write | ||
# - deploy | ||
# deployer: | ||
# permissions: | ||
# - deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#cache: | ||
# relative: false | ||
# path: /proxy/vagrant | ||
# | ||
#servers: | ||
# - id: official | ||
# name: Official | ||
# url: http://official |